diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-06-10 20:03:45 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-06-10 20:03:45 +0300 |
commit | 626c68091126f84819091840a011c50e26dcbd8d (patch) | |
tree | 132afdb12f858a6a2a20e00e0c2a0417caf4ae13 /include/MatrixClient.h | |
parent | Migrate to mtxclient for the http calls (diff) | |
download | nheko-626c68091126f84819091840a011c50e26dcbd8d.tar.xz |
Add support for displaying decrypted messages
Diffstat (limited to 'include/MatrixClient.h')
-rw-r--r-- | include/MatrixClient.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/MatrixClient.h b/include/MatrixClient.h index 832d6cad..7ea5e0b7 100644 --- a/include/MatrixClient.h +++ b/include/MatrixClient.h @@ -11,12 +11,15 @@ Q_DECLARE_METATYPE(mtx::responses::Notifications) Q_DECLARE_METATYPE(mtx::responses::Rooms) Q_DECLARE_METATYPE(mtx::responses::Sync) Q_DECLARE_METATYPE(std::string) -Q_DECLARE_METATYPE(std::vector<std::string>); +Q_DECLARE_METATYPE(std::vector<std::string>) namespace http { namespace v2 { mtx::http::Client * client(); + +bool +is_logged_in(); } //! Initialize the http module |