mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Support voice chats in legacy groups, with migration.
This commit is contained in:
@@ -1053,9 +1053,11 @@ void History::applyServiceChanges(
|
||||
} break;
|
||||
|
||||
case mtpc_messageActionGroupCall: {
|
||||
const auto &d = action.c_messageActionGroupCall();
|
||||
if (const auto channel = peer->asChannel()) {
|
||||
const auto &d = action.c_messageActionGroupCall();
|
||||
channel->setCall(d.vcall());
|
||||
channel->setGroupCall(d.vcall());
|
||||
} else if (const auto chat = peer->asChat()) {
|
||||
chat->setGroupCall(d.vcall());
|
||||
}
|
||||
} break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user