aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/room_send.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-17 07:42:13 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-17 07:49:41 +0200
commit7036ed0dcb137cb5cbb6b426dd338c5e2e4c6424 (patch)
treefa9e37d8874303bf56d5381b0844738bd516a79b /lib/csapi/room_send.cpp
parent906699cc525e9e0be231a58cabffc31ad1f5193c (diff)
downloadlibquotient-7036ed0dcb137cb5cbb6b426dd338c5e2e4c6424.tar.gz
libquotient-7036ed0dcb137cb5cbb6b426dd338c5e2e4c6424.zip
Regenerate API files using new GTAD and refreshed templates
No functional changes.
Diffstat (limited to 'lib/csapi/room_send.cpp')
-rw-r--r--lib/csapi/room_send.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/csapi/room_send.cpp b/lib/csapi/room_send.cpp
index 5e970d65..d278433b 100644
--- a/lib/csapi/room_send.cpp
+++ b/lib/csapi/room_send.cpp
@@ -12,17 +12,14 @@ using namespace Quotient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
-class SendMessageJob::Private
-{
+class SendMessageJob::Private {
public:
QString eventId;
};
-static const auto SendMessageJobName = QStringLiteral("SendMessageJob");
-
SendMessageJob::SendMessageJob(const QString& roomId, const QString& eventType,
const QString& txnId, const QJsonObject& body)
- : BaseJob(HttpVerb::Put, SendMessageJobName,
+ : BaseJob(HttpVerb::Put, QStringLiteral("SendMessageJob"),
basePath % "/rooms/" % roomId % "/send/" % eventType % "/" % txnId)
, d(new Private)
{