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

Show admin titles in member list

This commit is contained in:
RadRussianRus
2019-10-06 09:00:19 +03:00
parent 6e9ab9aea9
commit edd9d74c04
10 changed files with 80 additions and 27 deletions

View File

@@ -219,6 +219,7 @@ public:
void markForbidden();
[[nodiscard]] bool isGroupAdmin(not_null<UserData*> user) const;
[[nodiscard]] QString adminRank(not_null<UserData*> user) const;
[[nodiscard]] bool lastParticipantsCountOutdated() const {
if (!mgInfo