aboutsummaryrefslogtreecommitdiff
path: root/jobs/roommessagesjob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-04-02 22:48:43 +0300
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-04-02 22:48:43 +0300
commitff977a14a26076f9df426437a2049d2aefd1defc (patch)
tree69a5e6b07bdd46b8c3a2f7e1ec7a5351614599d4 /jobs/roommessagesjob.cpp
parent2c2fe463a5af4cd6798ed715cc740042c94843eb (diff)
downloadlibquotient-ff977a14a26076f9df426437a2049d2aefd1defc.tar.gz
libquotient-ff977a14a26076f9df426437a2049d2aefd1defc.zip
Renamed JobHttpType to more fitting HttpVerb; removed Job from enum values
Diffstat (limited to 'jobs/roommessagesjob.cpp')
-rw-r--r--jobs/roommessagesjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/roommessagesjob.cpp b/jobs/roommessagesjob.cpp
index ad8bea74..6443217b 100644
--- a/jobs/roommessagesjob.cpp
+++ b/jobs/roommessagesjob.cpp
@@ -34,7 +34,7 @@ class RoomMessagesJob::Private
RoomMessagesJob::RoomMessagesJob(ConnectionData* data, QString roomId,
QString from, int limit, FetchDirection dir)
- : BaseJob(data, JobHttpType::GetJob, "RoomMessagesJob",
+ : BaseJob(data, HttpVerb::Get, "RoomMessagesJob",
QString("/_matrix/client/r0/rooms/%1/messages").arg(roomId),
Query(
{ { "from", from }