mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Added manager of sponsored messages.
This commit is contained in:
@@ -2262,6 +2262,9 @@ void History::setChatListMessage(HistoryItem *item) {
|
||||
}
|
||||
const auto was = _chatListMessage.value_or(nullptr);
|
||||
if (item) {
|
||||
if (item->isSponsored()) {
|
||||
return;
|
||||
}
|
||||
if (_chatListMessage
|
||||
&& *_chatListMessage
|
||||
&& !IsServerMsgId((*_chatListMessage)->id)
|
||||
|
Reference in New Issue
Block a user