diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-02-17 17:46:26 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-02-17 17:46:26 +0900 |
commit | 061c6a69fd55696e7dd82854ace9aa67915628d7 (patch) | |
tree | 20decf874e4df1cdb8674b5c2ef283fce2115e08 /lib/room.h | |
parent | ac5daf2ed495a932aba23606f5b3d0dca5aaf676 (diff) | |
download | libquotient-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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*); |