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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user