summarylogtreecommitdiffstats
path: root/block-sponsored_messages.patch
blob: f3640501fbe51a6f246383ded4a36fb0f67644fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Telegram/SourceFiles/data/data_sponsored_messages.cpp b/Telegram/SourceFiles/data/data_sponsored_messages.cpp
index 1dc5b49..91cba9c 100644
--- a/Telegram/SourceFiles/data/data_sponsored_messages.cpp
+++ 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 false;
 }
 
 void SponsoredMessages::request(not_null<History*> history) {