diff options
Diffstat (limited to 'lib/csapi/create_room.h')
-rw-r--r-- | lib/csapi/create_room.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/csapi/create_room.h b/lib/csapi/create_room.h index a93215ea..c5f5edf5 100644 --- a/lib/csapi/create_room.h +++ b/lib/csapi/create_room.h @@ -6,9 +6,10 @@ #include "jobs/basejob.h" -#include <QtCore/QVector> #include <QtCore/QJsonObject> #include <QtCore/QStringList> +#include <QtCore/QVector> +#include "converters.h" namespace QMatrixClient { @@ -24,6 +25,8 @@ namespace QMatrixClient QString idServer; QString medium; QString address; + + bool omitted; }; struct StateEvent @@ -31,11 +34,13 @@ namespace QMatrixClient QString type; QString stateKey; QJsonObject content; + + bool omitted; }; // Construction/destruction - explicit CreateRoomJob(const QString& visibility = {}, const QString& roomAliasName = {}, const QString& name = {}, const QString& topic = {}, const QStringList& invite = {}, const QVector<Invite3pid>& invite3pid = {}, const QJsonObject& creationContent = {}, const QVector<StateEvent>& initialState = {}, const QString& preset = {}, bool isDirect = {}, bool guestCanJoin = {}); + explicit CreateRoomJob(const QString& visibility = {}, const QString& roomAliasName = {}, const QString& name = {}, const QString& topic = {}, const QStringList& invite = {}, const QVector<Invite3pid>& invite3pid = {}, const QJsonObject& creationContent = {}, const QVector<StateEvent>& initialState = {}, const QString& preset = {}, bool isDirect = false, bool guestCanJoin = false); ~CreateRoomJob() override; // Result properties |