All invite links are permanent right now.

This commit is contained in:
John Preston 2021-01-26 12:24:54 +04:00
parent 0d0a79b0b5
commit fa8dd61b02

View file

@ -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(),
};
});