aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/room.h b/lib/room.h
index e09da94c..f12627f3 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -424,6 +424,9 @@ namespace QMatrixClient
/// Mark all messages in the room as read
void markAllMessagesAsRead();
+ /// Whether the current user is allowed to upgrade the room
+ bool canSwitchVersions() const;
+
/// Switch the room's version (aka upgrade)
void switchVersion(QString newVersion);