aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/leaving.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-19 08:12:50 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-19 08:14:56 +0900
commitecc364d4ad752b34e41b717e3deff4d17a840378 (patch)
treeca1077fb3a751ad01f6638ee5733ddd4583d005f /jobs/generated/leaving.cpp
parent8800690c691dc9534fdb0f2d902862f816704d50 (diff)
parentf2f85ba093df5dcd991fd206af4d79d57f4c7fc8 (diff)
downloadlibquotient-ecc364d4ad752b34e41b717e3deff4d17a840378.tar.gz
libquotient-ecc364d4ad752b34e41b717e3deff4d17a840378.zip
Merge branch 'master' into kitsune-gtad
Diffstat (limited to 'jobs/generated/leaving.cpp')
-rw-r--r--jobs/generated/leaving.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/jobs/generated/leaving.cpp b/jobs/generated/leaving.cpp
new file mode 100644
index 00000000..7fed347b
--- /dev/null
+++ b/jobs/generated/leaving.cpp
@@ -0,0 +1,30 @@
+/******************************************************************************
+ * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
+ */
+
+
+#include "leaving.h"
+
+#include "jobs/converters.h"
+#include <QtCore/QStringBuilder>
+
+using namespace QMatrixClient;
+
+static const auto basePath = QStringLiteral("/_matrix/client/r0");
+
+LeaveRoomJob::LeaveRoomJob(QString roomId)
+ : BaseJob(HttpVerb::Post, "LeaveRoomJob",
+ basePath % "/rooms/" % roomId % "/leave",
+ Query { },
+ Data { }
+ )
+{ }
+
+ForgetRoomJob::ForgetRoomJob(QString roomId)
+ : BaseJob(HttpVerb::Post, "ForgetRoomJob",
+ basePath % "/rooms/" % roomId % "/forget",
+ Query { },
+ Data { }
+ )
+{ }
+