diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2024-05-07 23:26:01 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2024-05-07 23:26:29 +0200 |
commit | 82d9e57b6a3988696f207859e1f96211875c08ba (patch) | |
tree | 591b9068cecaa1ad2bf990e7d2ec4bae9d11c4af /src | |
parent | Fix possible pagination issue when a sync returns an empty limited timeline (diff) | |
download | nheko-82d9e57b6a3988696f207859e1f96211875c08ba.tar.xz |
Fix room mentions warning being displayed even without permissions
Diffstat (limited to 'src')
-rw-r--r-- | src/timeline/InputBar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index 1a086c2b..1636bcd1 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp @@ -241,7 +241,7 @@ InputBar::updateTextContentProperties(const QString &t, bool charDeleted) } } - auto roomMention = containsRoomMention(t); + auto roomMention = containsRoomMention(t) && this->room->permissions()->canPingRoom(); if (roomMention != this->containsAtRoom_) { if (roomMention) |