mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 05:20:42 +08:00
13 lines
554 B
Diff
13 lines
554 B
Diff
diff --git a/Telegram/SourceFiles/data/components/sponsored_messages.cpp b/Telegram/SourceFiles/data/components/sponsored_messages.cpp
|
|
index d2746ad9..f46b51fb 100644
|
|
--- a/Telegram/SourceFiles/data/components/sponsored_messages.cpp
|
|
+++ b/Telegram/SourceFiles/data/components/sponsored_messages.cpp
|
|
@@ -195,6 +195,7 @@ void SponsoredMessages::inject(
|
|
}
|
|
|
|
bool SponsoredMessages::canHaveFor(not_null<History*> history) const {
|
|
+ return false;
|
|
if (history->peer->isChannel()) {
|
|
return true;
|
|
} else if (const auto user = history->peer->asUser()) {
|