Apply first topic message pinning.

This commit is contained in:
John Preston 2022-11-03 12:19:29 +04:00
parent b772697c59
commit 3fcb7c90e0

View file

@ -709,6 +709,7 @@ void HistoryItem::applySentMessage(const MTPDmessage &data) {
});
}
setPostAuthor(data.vpost_author().value_or_empty());
setIsPinned(data.is_pinned());
contributeToSlowmode(data.vdate().v);
indexAsNewItem();
invalidateChatListEntry();