mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Hide links in chats with Report Spam.
This commit is contained in:
@@ -184,6 +184,7 @@ public:
|
||||
|
||||
[[nodiscard]] UserData *viaBot() const;
|
||||
[[nodiscard]] UserData *getMessageBot() const;
|
||||
[[nodiscard]] bool hideLinks() const;
|
||||
[[nodiscard]] bool isHistoryEntry() const;
|
||||
[[nodiscard]] bool isAdminLogEntry() const;
|
||||
[[nodiscard]] bool isFromScheduled() const;
|
||||
@@ -419,6 +420,9 @@ public:
|
||||
void incrementReplyToTopCounter();
|
||||
void applyEffectWatchedOnUnreadKnown();
|
||||
|
||||
void setHasHiddenLinks(bool has) const;
|
||||
[[nodiscard]] bool hasHiddenLinks() const;
|
||||
|
||||
[[nodiscard]] bool emptyText() const {
|
||||
return _text.empty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user