aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-25 22:40:15 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-25 22:40:15 +0900
commitd9ff200ff62fb7f5b6b51082dc3979d5454a1bec (patch)
tree16f33987a6e98646b462d22ca9f69884a9e01ee6 /lib/connection.h
parente507ca582b1b243ee4422a4a3e0b11b28697cb16 (diff)
downloadlibquotient-d9ff200ff62fb7f5b6b51082dc3979d5454a1bec.tar.gz
libquotient-d9ff200ff62fb7f5b6b51082dc3979d5454a1bec.zip
Update to the recent CS API (watch out for breakage)
Breaking changes: * guest_can_join is no more a thing - neither in Connection::createRoom, nor even in CreateRoomJob (it turned out that Synapse didn't really process this flag); * LoginJob has changed its list of arguments. If you use Connection to do logins (and you really should), you shouldn't be affected. * GetPublicRoomsJob now returns PublicRoomsResponse instead of providing all the response parts within the job Watch other changes in the diff.
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 9b253711..ea7c62c0 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -375,8 +375,8 @@ namespace QMatrixClient
*/
CreateRoomJob* createRoom(RoomVisibility visibility,
const QString& alias, const QString& name, const QString& topic,
- const QStringList& invites, const QString& presetName = {},
- bool isDirect = false, bool guestsCanJoin = false,
+ QStringList invites, const QString& presetName = {},
+ bool isDirect = false,
const QVector<CreateRoomJob::StateEvent>& initialState = {},
const QVector<CreateRoomJob::Invite3pid>& invite3pids = {},
const QJsonObject& creationContent = {});