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.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/csapi/read_markers.cpp b/lib/csapi/read_markers.cpp
index 1bc67ba0..5ea45f88 100644
--- a/lib/csapi/read_markers.cpp
+++ b/lib/csapi/read_markers.cpp
@@ -14,13 +14,14 @@ 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)
+SetReadMarkerJob::SetReadMarkerJob(const QString& roomId,
+ const QString& mFullyRead,
+ const QString& mRead)
: BaseJob(HttpVerb::Post, SetReadMarkerJobName,
- basePath % "/rooms/" % roomId % "/read_markers")
+ basePath % "/rooms/" % roomId % "/read_markers")
{
QJsonObject _data;
addParam<>(_data, QStringLiteral("m.fully_read"), mFullyRead);
addParam<IfNotEmpty>(_data, QStringLiteral("m.read"), mRead);
setRequestData(_data);
}
-