2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Don't use MTP* for ChannelData flags.

This commit is contained in:
John Preston
2021-07-08 16:11:09 +03:00
parent 5040c2e766
commit a74228acea
18 changed files with 209 additions and 178 deletions

View File

@@ -175,7 +175,7 @@ void GroupCall::changePeerEmptyCallFlag() {
const auto chat = _peer->asChat();
const auto channel = _peer->asChannel();
constexpr auto chatFlag = ChatDataFlag::CallNotEmpty;
constexpr auto channelFlag = MTPDchannel::Flag::f_call_not_empty;
constexpr auto channelFlag = ChannelDataFlag::CallNotEmpty;
if (_peer->groupCall() != this) {
return;
} else if (_serverParticipantsCount > 0) {