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

Use "subscribers" instead of "members" in channels

This commit is contained in:
RadRussianRus
2020-05-01 14:20:57 +03:00
committed by John Preston
parent ae64747489
commit cad4d19272
7 changed files with 26 additions and 8 deletions

View File

@@ -605,6 +605,11 @@ rpl::producer<QString> TitleValue(
return tr::lng_profile_common_groups_section();
case Section::Type::Members:
if (const auto channel = peer->asChannel()) {
return channel->isMegagroup()
? tr::lng_profile_participants_section()
: tr::lng_profile_subscribers_section();
}
return tr::lng_profile_participants_section();
//case Section::Type::Channels: // #feed