2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16: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

@@ -767,9 +767,9 @@ object_ptr<Ui::RpWidget> SetupChannelMembers(
auto membersShown = rpl::combine(
MembersCountValue(channel),
Data::PeerFullFlagValue(
Data::PeerFlagValue(
channel,
MTPDchannelFull::Flag::f_can_view_participants),
ChannelDataFlag::CanViewParticipants),
(_1 > 0) && _2);
auto membersText = tr::lng_chat_status_subscribers(
lt_count_decimal,