Fix room ping permission checked incorrectly

This commit is contained in:
Nicolas Werner 2021-09-03 12:34:41 +02:00
parent 5d6c26c8c7
commit bf9601018d
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -15,7 +15,7 @@ Item {
Rectangle { Rectangle {
id: warningRect id: warningRect
visible: (room && room.permissions.canPingRoom && room.input.containsAtRoom) visible: (room && room.permissions.canPingRoom() && room.input.containsAtRoom)
color: Nheko.colors.base color: Nheko.colors.base
anchors.fill: parent anchors.fill: parent
z: 3 z: 3