2
0
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:
23rd
2022-12-01 13:46:04 +03:00
parent cbbbcd877c
commit 92756f418b
7 changed files with 157 additions and 38 deletions

View File

@@ -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);
}