aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-01 07:34:47 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-01 07:34:47 +0200
commitae02ed04389117d100070c47f3ae69abb9080231 (patch)
treedadda40c41a219c56d3bebcc6b26f7bc2ee64fc1 /plugins
parent211982f321830691038cb79698fb55dcd015c9fc (diff)
Matrix: add message delete with ctrl+d
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp3
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);