mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 21:48:26 +00:00
All invite links are permanent right now.
This commit is contained in:
parent
0d0a79b0b5
commit
fa8dd61b02
@ -585,7 +585,7 @@ auto InviteLinks::parse(
|
|||||||
.expireDate = data.vexpire_date().value_or_empty(),
|
.expireDate = data.vexpire_date().value_or_empty(),
|
||||||
.usageLimit = data.vusage_limit().value_or_empty(),
|
.usageLimit = data.vusage_limit().value_or_empty(),
|
||||||
.usage = data.vusage().value_or_empty(),
|
.usage = data.vusage().value_or_empty(),
|
||||||
.permanent = data.is_permanent(),
|
.permanent = true,//data.is_permanent(), // #TODO links
|
||||||
.revoked = data.is_revoked(),
|
.revoked = data.is_revoked(),
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user