mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Divide structs into several data/ modules.
This commit is contained in:
@@ -1051,8 +1051,9 @@ HistoryItem *History::createItem(const MTPMessage &msg, bool applyServiceAction,
|
||||
} break;
|
||||
|
||||
case mtpc_messageActionChatMigrateTo: {
|
||||
peer->asChat()->flags |= MTPDchat::Flag::f_deactivated;
|
||||
|
||||
if (auto chat = peer->asChat()) {
|
||||
chat->addFlags(MTPDchat::Flag::f_deactivated);
|
||||
}
|
||||
//auto &d = action.c_messageActionChatMigrateTo();
|
||||
//auto channel = App::channelLoaded(d.vchannel_id.v);
|
||||
} break;
|
||||
|
Reference in New Issue
Block a user