mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Handle ttl_period locally.
This commit is contained in:
@@ -256,6 +256,9 @@ void ApplyUserUpdate(not_null<UserData*> user, const MTPDuserFull &update) {
|
||||
MTP_inputNotifyPeer(user->input),
|
||||
update.vnotify_settings());
|
||||
|
||||
if (const auto ttl = update.vttl()) {
|
||||
user->applyMessagesTTL(*ttl);
|
||||
}
|
||||
if (const auto info = update.vbot_info()) {
|
||||
user->setBotInfo(*info);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user