aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/room.h b/lib/room.h
index f12627f3..933a8dd9 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -542,7 +542,9 @@ namespace QMatrixClient
void unstableVersion(QString recommendedDefault,
QStringList stableVersions);
/// This room has been upgraded and won't receive updates anymore
- void upgraded(QString serverMessage, QString successorId);
+ void upgraded(QString serverMessage, Room* successor);
+ /// An attempted room upgrade has failed
+ void upgradeFailed(QString errorMessage);
/// The room is about to be deleted
void beforeDestruction(Room*);