summary refs log tree commit diff
path: root/src/MatrixClient.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-12 16:27:25 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-12 16:27:25 +0300
commite9ee29978d60f9fb5e661c5a02f33d8e3ad3655f (patch)
treed7c81724211a2f1dd414efd07bf635082ee9f288 /src/MatrixClient.h
parentMove some info logs to debug (diff)
downloadnheko-e9ee29978d60f9fb5e661c5a02f33d8e3ad3655f.tar.xz
Add context menu option to show the raw message
fixes #437
Diffstat (limited to 'src/MatrixClient.h')
-rw-r--r--src/MatrixClient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/MatrixClient.h b/src/MatrixClient.h
index f0aca5c4..981c6b1c 100644
--- a/src/MatrixClient.h
+++ b/src/MatrixClient.h
@@ -4,6 +4,7 @@
 #include <QObject>
 #include <QString>
 
+#include "json.hpp"
 #include <mtx/responses.hpp>
 #include <mtxclient/http/client.hpp>
 
@@ -15,6 +16,7 @@ Q_DECLARE_METATYPE(mtx::responses::Sync)
 Q_DECLARE_METATYPE(mtx::responses::JoinedGroups)
 Q_DECLARE_METATYPE(mtx::responses::GroupProfile)
 Q_DECLARE_METATYPE(std::string)
+Q_DECLARE_METATYPE(nlohmann::json)
 Q_DECLARE_METATYPE(std::vector<std::string>)
 Q_DECLARE_METATYPE(std::vector<QString>)