mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Implement per-topic shared media.
This commit is contained in:
@@ -331,7 +331,7 @@ void ApplyUserUpdate(not_null<UserData*> user, const MTPDuserFull &update) {
|
||||
user->setBotInfoVersion(-1);
|
||||
}
|
||||
if (const auto pinned = update.vpinned_msg_id()) {
|
||||
SetTopPinnedMessageId(user, pinned->v);
|
||||
SetTopPinnedMessageId(user, MsgId(0), pinned->v);
|
||||
}
|
||||
const auto canReceiveGifts = (update.vflags().v
|
||||
& MTPDuserFull::Flag::f_premium_gifts)
|
||||
|
Reference in New Issue
Block a user