aboutsummaryrefslogtreecommitdiff
path: root/jobs/postmessagejob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/postmessagejob.cpp')
-rw-r--r--jobs/postmessagejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/postmessagejob.cpp b/jobs/postmessagejob.cpp
index a835cd9f..23c2214c 100644
--- a/jobs/postmessagejob.cpp
+++ b/jobs/postmessagejob.cpp
@@ -33,7 +33,7 @@ class PostMessageJob::Private
PostMessageJob::PostMessageJob(ConnectionData* connection, QString roomId,
QString type, QString message)
- : BaseJob(connection, JobHttpType::PostJob, "PostMessageJob",
+ : BaseJob(connection, HttpVerb::Post, "PostMessageJob",
QString("_matrix/client/r0/rooms/%1/send/m.room.message").arg(roomId),
Query(),
Data({ { "msgtype", type }, { "body", message } }))