2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add auto-delete period edit box.

This commit is contained in:
John Preston
2021-02-11 18:46:46 +04:00
parent dd2dcd7fd9
commit 15e03687f8
15 changed files with 525 additions and 147 deletions

View File

@@ -971,7 +971,7 @@ void PeerData::applyMessagesTTL(const MTPPeerHistoryTTL &ttl) {
ttl.match([&](const MTPDpeerHistoryTTL &data) {
setMessagesTTL(
data.vttl_period().v,
data.vttl_period().v,
0,
false);
}, [&](const MTPDpeerHistoryTTLPM &data) {
setMessagesTTL(