diff options
author | 3JlOy_PYCCKUI | 2022-01-10 04:17:10 +0300 |
---|---|---|
committer | 3JlOy_PYCCKUI | 2022-01-10 04:17:10 +0300 |
commit | 1db7335683d143c4e4db4c52d759e7ba07977a40 (patch) | |
tree | 8c1bb0f5ccc5336052924e133ddd1face0ad4f3a /block-sponsored_messages.patch | |
parent | e1ddb6693f0c0dbc26a3716518e5f830c074eded (diff) | |
download | aur-1db7335683d143c4e4db4c52d759e7ba07977a40.tar.gz |
update block-sponsored_messages.patch
Diffstat (limited to 'block-sponsored_messages.patch')
-rw-r--r-- | block-sponsored_messages.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block-sponsored_messages.patch b/block-sponsored_messages.patch index f3640501fbe5..4ccdd789f4e8 100644 --- a/block-sponsored_messages.patch +++ b/block-sponsored_messages.patch @@ -4,10 +4,10 @@ index 1dc5b49..91cba9c 100644 +++ b/Telegram/SourceFiles/data/data_sponsored_messages.cpp @@ -93,7 +93,7 @@ bool SponsoredMessages::append(not_null<History*> history) { } - + bool SponsoredMessages::canHaveFor(not_null<History*> history) const { -- return history->isChannel(); +- return history->peer->isChannel(); + return false; } - + void SponsoredMessages::request(not_null<History*> history) { |