diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-12 16:27:25 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-12 16:27:25 +0300 |
commit | e9ee29978d60f9fb5e661c5a02f33d8e3ad3655f (patch) | |
tree | d7c81724211a2f1dd414efd07bf635082ee9f288 /src/MatrixClient.h | |
parent | Move some info logs to debug (diff) | |
download | nheko-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.h | 2 |
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>) |