aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/postreadmarkersjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jobs/postreadmarkersjob.h')
-rw-r--r--lib/jobs/postreadmarkersjob.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/jobs/postreadmarkersjob.h b/lib/jobs/postreadmarkersjob.h
deleted file mode 100644
index ba965de9..00000000
--- a/lib/jobs/postreadmarkersjob.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/******************************************************************************
- * SPDX-FileCopyrightText: 2017 Kitsune Ral <kitsune-ral@users.sf.net>
- *
- * SPDX-License-Identifier: LGPL-2.1-or-later
- */
-
-#pragma once
-
-#include "basejob.h"
-
-#include <QtCore/QJsonObject>
-
-using namespace Quotient;
-
-class PostReadMarkersJob : public BaseJob {
-public:
- explicit PostReadMarkersJob(const QString& roomId,
- const QString& readUpToEventId)
- : BaseJob(
- HttpVerb::Post, "PostReadMarkersJob",
- QStringLiteral("_matrix/client/r0/rooms/%1/read_markers").arg(roomId))
- {
- setRequestData(
- QJsonObject { { QStringLiteral("m.fully_read"), readUpToEventId } });
- }
-};