mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added TTL badge to dialogs list.
This commit is contained in:
@@ -2764,6 +2764,9 @@ void History::applyDialog(
|
||||
MsgId(0), // topicRootId
|
||||
draft->c_draftMessage());
|
||||
}
|
||||
if (const auto ttl = data.vttl_period()) {
|
||||
peer->setMessagesTTL(ttl->v);
|
||||
}
|
||||
owner().histories().dialogEntryApplied(this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user