diff options
Diffstat (limited to 'lib/jobs/postreadmarkersjob.h')
-rw-r--r-- | lib/jobs/postreadmarkersjob.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/jobs/postreadmarkersjob.h b/lib/jobs/postreadmarkersjob.h index 3c5cac89..d53ae66c 100644 --- a/lib/jobs/postreadmarkersjob.h +++ b/lib/jobs/postreadmarkersjob.h @@ -26,14 +26,14 @@ using namespace QMatrixClient; class PostReadMarkersJob : public BaseJob { - public: +public: explicit PostReadMarkersJob(const QString& roomId, const QString& readUpToEventId) - : BaseJob(HttpVerb::Post, "PostReadMarkersJob", - QStringLiteral("_matrix/client/r0/rooms/%1/read_markers") - .arg(roomId)) + : BaseJob( + HttpVerb::Post, "PostReadMarkersJob", + QStringLiteral("_matrix/client/r0/rooms/%1/read_markers").arg(roomId)) { - setRequestData(QJsonObject { - { QStringLiteral("m.fully_read"), readUpToEventId } }); + setRequestData( + QJsonObject { { QStringLiteral("m.fully_read"), readUpToEventId } }); } }; |