aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/create_room.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-26 20:18:32 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-26 20:18:32 +0900
commit6a4af80a7199753b493b17684162673b024d2191 (patch)
tree54cda4e8d95ce33cfa090893b13aa83fef016c35 /lib/csapi/create_room.h
parentc5d06cf378e820ca4290998a5580e87957daf061 (diff)
downloadlibquotient-6a4af80a7199753b493b17684162673b024d2191.tar.gz
libquotient-6a4af80a7199753b493b17684162673b024d2191.zip
lib/csapi/: regenerate job classes from the most recent templates
The second part to close #208.
Diffstat (limited to 'lib/csapi/create_room.h')
-rw-r--r--lib/csapi/create_room.h9
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