aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/read_markers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/read_markers.cpp')
-rw-r--r--lib/csapi/read_markers.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/csapi/read_markers.cpp b/lib/csapi/read_markers.cpp
index a07d09ce..76145808 100644
--- a/lib/csapi/read_markers.cpp
+++ b/lib/csapi/read_markers.cpp
@@ -12,12 +12,10 @@ using namespace Quotient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
-static const auto SetReadMarkerJobName = QStringLiteral("SetReadMarkerJob");
-
SetReadMarkerJob::SetReadMarkerJob(const QString& roomId,
const QString& mFullyRead,
const QString& mRead)
- : BaseJob(HttpVerb::Post, SetReadMarkerJobName,
+ : BaseJob(HttpVerb::Post, QStringLiteral("SetReadMarkerJob"),
basePath % "/rooms/" % roomId % "/read_markers")
{
QJsonObject _data;