aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/leaving.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/leaving.cpp')
-rw-r--r--jobs/generated/leaving.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/jobs/generated/leaving.cpp b/jobs/generated/leaving.cpp
index 604fcc73..89c110dd 100644
--- a/jobs/generated/leaving.cpp
+++ b/jobs/generated/leaving.cpp
@@ -14,15 +14,13 @@ static const auto basePath = QStringLiteral("/_matrix/client/r0");
LeaveRoomJob::LeaveRoomJob(const QString& roomId)
: BaseJob(HttpVerb::Post, "LeaveRoomJob",
- basePath % "/rooms/" % roomId % "/leave",
- Query { }
- )
-{ }
+ basePath % "/rooms/" % roomId % "/leave")
+{
+}
ForgetRoomJob::ForgetRoomJob(const QString& roomId)
: BaseJob(HttpVerb::Post, "ForgetRoomJob",
- basePath % "/rooms/" % roomId % "/forget",
- Query { }
- )
-{ }
+ basePath % "/rooms/" % roomId % "/forget")
+{
+}