mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add ability to see invite links of other admins.
This commit is contained in:
@@ -776,11 +776,11 @@ void ApplyChannelUpdate(
|
||||
next->v - channel->slowmodeSeconds());
|
||||
}
|
||||
if (const auto invite = update.vexported_invite()) {
|
||||
channel->session().api().inviteLinks().setPermanent(
|
||||
channel->session().api().inviteLinks().setMyPermanent(
|
||||
channel,
|
||||
*invite);
|
||||
} else {
|
||||
channel->session().api().inviteLinks().clearPermanent(channel);
|
||||
channel->session().api().inviteLinks().clearMyPermanent(channel);
|
||||
}
|
||||
if (const auto location = update.vlocation()) {
|
||||
channel->setLocation(*location);
|
||||
|
Reference in New Issue
Block a user