mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Add two-year ttl time for account.
This commit is contained in:
@@ -23,7 +23,7 @@ using Type = SelfDestructionBox::Type;
|
|||||||
|
|
||||||
[[nodiscard]] std::vector<int> Values(Type type) {
|
[[nodiscard]] std::vector<int> Values(Type type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case Type::Account: return { 30, 90, 180, 365, 548 };
|
case Type::Account: return { 30, 90, 180, 365, 548, 720 };
|
||||||
case Type::Sessions: return { 7, 30, 90, 180, 365 };
|
case Type::Sessions: return { 7, 30, 90, 180, 365 };
|
||||||
}
|
}
|
||||||
Unexpected("SelfDestructionBox::Type in Values.");
|
Unexpected("SelfDestructionBox::Type in Values.");
|
||||||
|
Reference in New Issue
Block a user