2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add manage_call admin right support.

This commit is contained in:
John Preston
2020-11-28 10:21:11 +03:00
parent d18b29efb8
commit 7983d33ad5
10 changed files with 24 additions and 8 deletions

View File

@@ -306,6 +306,7 @@ public:
[[nodiscard]] bool canDelete() const;
[[nodiscard]] bool canEditAdmin(not_null<UserData*> user) const;
[[nodiscard]] bool canRestrictUser(not_null<UserData*> user) const;
[[nodiscard]] bool canManageCall() const;
void setInviteLink(const QString &newInviteLink);
[[nodiscard]] QString inviteLink() const;