2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Register sponsored view only on full message show.

This commit is contained in:
John Preston
2021-11-03 15:49:48 +04:00
parent 52bacb3cde
commit 7a57174ab1
6 changed files with 39 additions and 31 deletions

View File

@@ -2674,10 +2674,6 @@ QString History::topPromotionMessage() const {
return _topPromotedMessage;
}
bool History::canHaveSponsoredMessages() const {
return isChannel();
}
bool History::clearUnreadOnClientSide() const {
if (!session().supportMode()) {
return false;