mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Don't use MTP* for ChannelData flags.
This commit is contained in:
@@ -988,7 +988,7 @@ void History::applyServiceChanges(
|
||||
}
|
||||
}, [&](const MTPDmessageActionChannelMigrateFrom &data) {
|
||||
if (const auto channel = peer->asChannel()) {
|
||||
channel->addFlags(MTPDchannel::Flag::f_megagroup);
|
||||
channel->addFlags(ChannelDataFlag::Megagroup);
|
||||
if (const auto chat = owner().chatLoaded(data.vchat_id().v)) {
|
||||
Data::ApplyMigration(chat, channel);
|
||||
}
|
||||
|
Reference in New Issue
Block a user