aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-02-17 17:46:26 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-02-17 17:46:26 +0900
commit061c6a69fd55696e7dd82854ace9aa67915628d7 (patch)
tree20decf874e4df1cdb8674b5c2ef283fce2115e08 /lib/room.h
parentac5daf2ed495a932aba23606f5b3d0dca5aaf676 (diff)
downloadlibquotient-061c6a69fd55696e7dd82854ace9aa67915628d7.tar.gz
libquotient-061c6a69fd55696e7dd82854ace9aa67915628d7.zip
Room: emit room, not id in upgraded(); add upgradeFailed()
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*);