mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Moved ChatRestrictionsInfo and ChatAdminRightsInfo to separated file.
This commit is contained in:
@@ -774,8 +774,8 @@ void ApplyMigration(
|
||||
void ApplyChannelUpdate(
|
||||
not_null<ChannelData*> channel,
|
||||
const MTPDupdateChatDefaultBannedRights &update) {
|
||||
channel->setDefaultRestrictions(Data::ChatBannedRightsFlags(
|
||||
update.vdefault_banned_rights()));
|
||||
channel->setDefaultRestrictions(ChatRestrictionsInfo(
|
||||
update.vdefault_banned_rights()).flags);
|
||||
}
|
||||
|
||||
void ApplyChannelUpdate(
|
||||
|
Reference in New Issue
Block a user