diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-01 07:34:47 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-01 07:34:47 +0200 |
commit | ae02ed04389117d100070c47f3ae69abb9080231 (patch) | |
tree | dadda40c41a219c56d3bebcc6b26f7bc2ee64fc1 /plugins | |
parent | 211982f321830691038cb79698fb55dcd015c9fc (diff) |
Matrix: add message delete with ctrl+d
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 7a588e8..fdd3392 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -88,6 +88,9 @@ namespace QuickMedia { PluginResult login(const std::string &username, const std::string &password, const std::string &homeserver, std::string &err_msg); PluginResult logout(); + // |message| is from |BodyItem.userdata| and is of type |Message*| + PluginResult delete_message(const std::string &room_id, void *message, std::string &err_msg); + PluginResult load_and_verify_cached_session(); PluginResult on_start_typing(const std::string &room_id); |