mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Handle ttl_period locally.
This commit is contained in:
@@ -749,6 +749,9 @@ void ApplyChannelUpdate(
|
||||
channel->clearGroupCall();
|
||||
}
|
||||
|
||||
if (const auto ttl = update.vttl()) {
|
||||
channel->applyMessagesTTL(*ttl);
|
||||
}
|
||||
channel->setFullFlags(update.vflags().v);
|
||||
channel->setUserpicPhoto(update.vchat_photo());
|
||||
if (const auto migratedFrom = update.vmigrated_from_chat_id()) {
|
||||
|
Reference in New Issue
Block a user