From e9ee29978d60f9fb5e661c5a02f33d8e3ad3655f Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Wed, 12 Sep 2018 16:27:25 +0300 Subject: Add context menu option to show the raw message fixes #437 --- src/MatrixClient.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/MatrixClient.h') 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 #include +#include "json.hpp" #include #include @@ -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) Q_DECLARE_METATYPE(std::vector) -- cgit 1.5.1