mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Implement correct ForumTopic::canWrite logic.
This commit is contained in:
@@ -313,7 +313,7 @@ public:
|
||||
void setDefaultRestrictions(ChatRestrictions rights);
|
||||
|
||||
// Like in ChatData.
|
||||
[[nodiscard]] bool canWrite() const;
|
||||
[[nodiscard]] bool canWrite(bool checkForForum = true) const;
|
||||
[[nodiscard]] bool allowsForwarding() const;
|
||||
[[nodiscard]] bool canEditInformation() const;
|
||||
[[nodiscard]] bool canEditPermissions() const;
|
||||
|
Reference in New Issue
Block a user