From 9fb104f688213bf1f3a324d5d240c8ab3bbc4997 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 27 Sep 2020 12:40:10 +0200 Subject: Matrix: add logout command --- plugins/Matrix.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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(); -- cgit v1.2.3