From 3399397a760140a8c8830bb37c58009587242037 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 24 Aug 2022 09:18:44 +0300 Subject: [PATCH] Allow 1 year for session termination delay. --- Telegram/SourceFiles/boxes/self_destruction_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/self_destruction_box.cpp b/Telegram/SourceFiles/boxes/self_destruction_box.cpp index 54209c81af..5433b0c360 100644 --- a/Telegram/SourceFiles/boxes/self_destruction_box.cpp +++ b/Telegram/SourceFiles/boxes/self_destruction_box.cpp @@ -24,7 +24,7 @@ using Type = SelfDestructionBox::Type; [[nodiscard]] std::vector Values(Type type) { switch (type) { case Type::Account: return { 30, 90, 180, 365 }; - case Type::Sessions: return { 7, 30, 90, 180 }; + case Type::Sessions: return { 7, 30, 90, 180, 365 }; } Unexpected("SelfDestructionBox::Type in Values."); }