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

Support separate message type group restrictions.

This commit is contained in:
John Preston
2023-01-10 22:56:20 +04:00
parent de5bbf2cb9
commit 554f66f089
64 changed files with 1437 additions and 832 deletions

View File

@@ -112,7 +112,6 @@ public:
[[nodiscard]] bool isBot() const;
[[nodiscard]] bool isSupport() const;
[[nodiscard]] bool isInaccessible() const;
[[nodiscard]] bool canWrite() const;
[[nodiscard]] bool applyMinPhoto() const;
[[nodiscard]] bool hasPersonalPhoto() const;
@@ -120,7 +119,6 @@ public:
[[nodiscard]] bool canAddContact() const;
[[nodiscard]] bool canReceiveGifts() const;
[[nodiscard]] bool canReceiveVoices() const;
// In Data::Session::processUsers() we check only that.
// When actually trying to share contact we perform