Skip to content

Commit

Permalink
net-im/telegram-desktop: bump
Browse files Browse the repository at this point in the history
Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
  • Loading branch information
msva committed Oct 7, 2024
1 parent 7ea50be commit 4c89938
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ index d3baee3..04ee5a4 100644
@@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/data_stories.h"

#include "api/api_report.h"
+#include "base/options.h"
#include "base/unixtime.h"
+#include "base/options.h"
#include "apiwrap.h"
#include "core/application.h"
#include "data/data_changes.h"
@@ -47,6 +48,14 @@ constexpr auto kPollingViewsPerPage = Story::kRecentViewersMax;

using UpdateFlag = StoryUpdate::Flag;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
diff --git a/Telegram/SourceFiles/core/click_handler_types.cpp b/Telegram/SourceFiles/core/click_handler_types.cpp
index e3bbba7..5bc409d 100644
--- a/Telegram/SourceFiles/core/click_handler_types.cpp
+++ b/Telegram/SourceFiles/core/click_handler_types.cpp
@@ -333,9 +333,7 @@ void MonospaceClickHandler::onClick(ClickContext context) const {
if (const auto controller = my.sessionWindow.get()) {
auto &data = controller->session().data();
const auto item = data.message(my.itemId);
- const auto hasCopyRestriction = item
- && (!item->history()->peer->allowsForwarding()
- || item->forbidsForward());
+ const auto hasCopyRestriction = false;
if (hasCopyRestriction) {
controller->showToast(item->history()->peer->isBroadcast()
? tr::lng_error_nocopy_channel(tr::now)
diff --git a/Telegram/SourceFiles/data/data_story.cpp b/Telegram/SourceFiles/data/data_story.cpp
index d5faa43..c6b26dc 100644
--- a/Telegram/SourceFiles/data/data_story.cpp
Expand Down

0 comments on commit 4c89938

Please sign in to comment.