mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Fix build with GCC.
This commit is contained in:
@@ -450,9 +450,7 @@ void ForumTopic::setLastMessage(HistoryItem *item) {
|
||||
void ForumTopic::setChatListMessage(HistoryItem *item) {
|
||||
if (_chatListMessage && *_chatListMessage == item) {
|
||||
return;
|
||||
}
|
||||
const auto was = _chatListMessage.value_or(nullptr);
|
||||
if (item) {
|
||||
} else if (item) {
|
||||
if (item->isSponsored()) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user