diff options
Diffstat (limited to 'src/ui/RoomSettings.h')
-rw-r--r-- | src/ui/RoomSettings.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/RoomSettings.h b/src/ui/RoomSettings.h index d5d42ce0..c6f4e95a 100644 --- a/src/ui/RoomSettings.h +++ b/src/ui/RoomSettings.h @@ -109,7 +109,8 @@ public: Q_INVOKABLE void enableEncryption(); Q_INVOKABLE void updateAvatar(); Q_INVOKABLE void openEditModal(); - Q_INVOKABLE void saveHiddenEventsSettings(QSet<QString> events); + Q_INVOKABLE void + saveHiddenEventsSettings(const QSet<QString> &events, const QString &roomId = {}); Q_INVOKABLE void changeAccessRules(int index); Q_INVOKABLE void changeNotifications(int currentIndex); Q_INVOKABLE bool eventHidden(QString event) const; |