aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/generated/to_device.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-04 18:07:28 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-04 18:07:28 +0900
commitb71f291d1979355c5efd7f53988d1d1acf294b09 (patch)
treef4ea3ce48631b997e7393d48d6b1ce1339894ef8 /lib/jobs/generated/to_device.h
parent4289e72fdbe14b92d14fc18b9aa23cd0e2ae7eba (diff)
downloadlibquotient-b71f291d1979355c5efd7f53988d1d1acf294b09.tar.gz
libquotient-b71f291d1979355c5efd7f53988d1d1acf294b09.zip
SendToDeviceJob: use a map-of-maps for messages instead of an opaque QJsonObject
Diffstat (limited to 'lib/jobs/generated/to_device.h')
-rw-r--r--lib/jobs/generated/to_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/jobs/generated/to_device.h b/lib/jobs/generated/to_device.h
index 0de8fb0a..f5910e44 100644
--- a/lib/jobs/generated/to_device.h
+++ b/lib/jobs/generated/to_device.h
@@ -7,6 +7,7 @@
#include "../basejob.h"
#include <QtCore/QJsonObject>
+#include <QtCore/QHash>
namespace QMatrixClient
@@ -16,6 +17,6 @@ namespace QMatrixClient
class SendToDeviceJob : public BaseJob
{
public:
- explicit SendToDeviceJob(const QString& eventType, const QString& txnId, const QJsonObject& messages = {});
+ explicit SendToDeviceJob(const QString& eventType, const QString& txnId, const QHash<QString, QHash<QString, QJsonObject>>& messages = {});
};
} // namespace QMatrixClient