diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-30 23:35:18 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-30 23:35:18 +0900 |
commit | 0aade6a4a9726e30814b5f3c9dcf27a7125e324a (patch) | |
tree | 245d8d2559695c085cc419277c18c40ff99ac317 /jobs/generated/create_room.cpp | |
parent | 75542386eaf7a6e4ecd064401f2c3373c48f3cd3 (diff) | |
parent | 86c41b9d233918ebc3312d19fc8f702a0f5da789 (diff) | |
download | libquotient-0aade6a4a9726e30814b5f3c9dcf27a7125e324a.tar.gz libquotient-0aade6a4a9726e30814b5f3c9dcf27a7125e324a.zip |
Merge branch 'kitsune-create-room'
Closes #34.
Diffstat (limited to 'jobs/generated/create_room.cpp')
-rw-r--r-- | jobs/generated/create_room.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jobs/generated/create_room.cpp b/jobs/generated/create_room.cpp index be06873a..de7807b5 100644 --- a/jobs/generated/create_room.cpp +++ b/jobs/generated/create_room.cpp @@ -74,7 +74,7 @@ class CreateRoomJob::Private QString roomId; }; -CreateRoomJob::CreateRoomJob(const QString& visibility, const QString& roomAliasName, const QString& name, const QString& topic, const QVector<QString>& invite, const QVector<Invite3pid>& invite3pid, const QJsonObject& creationContent, const QVector<StateEvent>& initialState, const QString& preset, bool isDirect) +CreateRoomJob::CreateRoomJob(const QString& visibility, const QString& roomAliasName, const QString& name, const QString& topic, const QVector<QString>& invite, const QVector<Invite3pid>& invite3pid, const QJsonObject& creationContent, const QVector<StateEvent>& initialState, const QString& preset, bool isDirect, bool guestCanJoin) : BaseJob(HttpVerb::Post, "CreateRoomJob", basePath % "/createRoom") , d(new Private) @@ -95,6 +95,7 @@ CreateRoomJob::CreateRoomJob(const QString& visibility, const QString& roomAlias if (!preset.isEmpty()) _data.insert("preset", toJson(preset)); _data.insert("is_direct", toJson(isDirect)); + _data.insert("guest_can_join", toJson(guestCanJoin)); setRequestData(_data); } |