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

Add revoking of full history.

This commit is contained in:
John Preston
2019-03-21 17:48:40 +04:00
parent 33069739ee
commit eb1825defd
9 changed files with 130 additions and 113 deletions

View File

@@ -160,6 +160,7 @@ public:
[[nodiscard]] bool canWrite() const;
[[nodiscard]] Data::RestrictionCheckResult amRestricted(
ChatRestriction right) const;
[[nodiscard]] bool canRevokeFullHistory() const;
[[nodiscard]] UserData *asUser();
[[nodiscard]] const UserData *asUser() const;