From fa8dd61b02d87e5da7b36f29bb2bcb1b8fe0f4d4 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 26 Jan 2021 12:24:54 +0400 Subject: [PATCH] All invite links are permanent right now. --- Telegram/SourceFiles/api/api_invite_links.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/api/api_invite_links.cpp b/Telegram/SourceFiles/api/api_invite_links.cpp index 038581b024..34a79cc445 100644 --- a/Telegram/SourceFiles/api/api_invite_links.cpp +++ b/Telegram/SourceFiles/api/api_invite_links.cpp @@ -585,7 +585,7 @@ auto InviteLinks::parse( .expireDate = data.vexpire_date().value_or_empty(), .usageLimit = data.vusage_limit().value_or_empty(), .usage = data.vusage().value_or_empty(), - .permanent = data.is_permanent(), + .permanent = true,//data.is_permanent(), // #TODO links .revoked = data.is_revoked(), }; });