diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-06-03 18:24:48 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-06-03 18:24:48 +0900 |
commit | 5be3dcc9d45d2c52a514b5ebfa691dca9c73b047 (patch) | |
tree | cfc416560e8dbe9f6c015a065bdfea555926a475 /lib/csapi/notifications.h | |
parent | 38440a724acf8836e74e5bca29105e493f36eb7c (diff) | |
download | libquotient-5be3dcc9d45d2c52a514b5ebfa691dca9c73b047.tar.gz libquotient-5be3dcc9d45d2c52a514b5ebfa691dca9c73b047.zip |
csapi/notifications.*: Use QVariant instead of QJsonObject
Thanks to the latest GTAD. QJsonObject wasn't quite correct there.
Diffstat (limited to 'lib/csapi/notifications.h')
-rw-r--r-- | lib/csapi/notifications.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/csapi/notifications.h b/lib/csapi/notifications.h index 3a603364..094fa3af 100644 --- a/lib/csapi/notifications.h +++ b/lib/csapi/notifications.h @@ -6,10 +6,11 @@ #include "jobs/basejob.h" +#include "events/event.h" #include "converters.h" #include <QtCore/QVector> +#include <QtCore/QVariant> #include <QtCore/QJsonObject> -#include "events/event.h" namespace QMatrixClient { @@ -22,7 +23,7 @@ namespace QMatrixClient struct Notification { - QVector<QJsonObject> actions; + QVector<QVariant> actions; EventPtr event; QString profileTag; bool read; |