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

Added sponsored messages to HistoryWidget.

This commit is contained in:
23rd
2021-09-30 15:59:08 +03:00
committed by John Preston
parent c2c53df886
commit 419f6345b3
4 changed files with 38 additions and 1 deletions

View File

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