summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-09-03 12:34:41 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-09-03 12:34:41 +0200
commitbf9601018d4b36b654b0febc4af327404541e527 (patch)
tree76495c07aaad0ed125c1ccc7b2d2a3189ba99b09
parentMerge pull request #696 from resolritter/reply (diff)
downloadnheko-bf9601018d4b36b654b0febc4af327404541e527.tar.xz
Fix room ping permission checked incorrectly
-rw-r--r--resources/qml/NotificationWarning.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/NotificationWarning.qml b/resources/qml/NotificationWarning.qml
index b606581b..95ca210b 100644
--- a/resources/qml/NotificationWarning.qml
+++ b/resources/qml/NotificationWarning.qml
@@ -15,7 +15,7 @@ Item {
     Rectangle {
         id: warningRect
 
-        visible: (room && room.permissions.canPingRoom && room.input.containsAtRoom)
+        visible: (room && room.permissions.canPingRoom() && room.input.containsAtRoom)
         color: Nheko.colors.base
         anchors.fill: parent
         z: 3