2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +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

@@ -65,10 +65,6 @@ inline auto PeerFlagValue(
return SingleFlagValue(PeerFlagsValue(peer), flag);
}
rpl::producer<bool> PeerFlagValue(
ChannelData *channel,
MTPDchannel_ClientFlag flag);
template <
typename PeerType,
typename = typename PeerType::FullFlags::Change>