aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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);