diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-27 12:40:10 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-27 12:40:10 +0200 |
commit | 9fb104f688213bf1f3a324d5d240c8ab3bbc4997 (patch) | |
tree | 5160859f150f5c005b223a832d66f35db3404197 /plugins | |
parent | c9a9450cf2737ade139944dc901cc80832ab4499 (diff) |
Matrix: add logout command
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 7b8c13f..760d543 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -74,6 +74,7 @@ namespace QuickMedia { PluginResult post_message(const std::string &room_id, const std::string &body, const std::string &url = "", MessageType msgtype = MessageType::TEXT, MessageInfo *info = nullptr); PluginResult post_file(const std::string &room_id, const std::string &filepath); PluginResult login(const std::string &username, const std::string &password, const std::string &homeserver, std::string &err_msg); + PluginResult logout(); PluginResult load_and_verify_cached_session(); |