aboutsummaryrefslogtreecommitdiff
path: root/jobs/roommessagesjob.cpp
diff options
context:
space:
mode:
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 c527cc71..9af1b3a6 100644
--- a/jobs/roommessagesjob.cpp
+++ b/jobs/roommessagesjob.cpp
@@ -30,7 +30,7 @@ class RoomMessagesJob::Private
RoomMessagesJob::RoomMessagesJob(const QString& roomId, const QString& from,
int limit, FetchDirection dir)
: BaseJob(HttpVerb::Get, "RoomMessagesJob",
- QString("/_matrix/client/r0/rooms/%1/messages").arg(roomId),
+ QStringLiteral("/_matrix/client/r0/rooms/%1/messages").arg(roomId),
Query(
{ { "from", from }
, { "dir", dir == FetchDirection::Backward ? "b" : "f" }