aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/to_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/to_device.cpp')
-rw-r--r--lib/csapi/to_device.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/csapi/to_device.cpp b/lib/csapi/to_device.cpp
index 3f6e8097..e277503c 100644
--- a/lib/csapi/to_device.cpp
+++ b/lib/csapi/to_device.cpp
@@ -12,12 +12,10 @@ using namespace Quotient;
static const auto basePath = QStringLiteral("/_matrix/client/r0");
-static const auto SendToDeviceJobName = QStringLiteral("SendToDeviceJob");
-
SendToDeviceJob::SendToDeviceJob(
const QString& eventType, const QString& txnId,
const QHash<QString, QHash<QString, QJsonObject>>& messages)
- : BaseJob(HttpVerb::Put, SendToDeviceJobName,
+ : BaseJob(HttpVerb::Put, QStringLiteral("SendToDeviceJob"),
basePath % "/sendToDevice/" % eventType % "/" % txnId)
{
QJsonObject _data;