From 818f65e1d9e21a2b0dcecf34312b217000da7c92 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 22 Nov 2020 11:46:01 +0100 Subject: Matrix: add /react --- plugins/Matrix.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/Matrix.hpp') diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 1a0ffe0..a806d98 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -451,6 +451,8 @@ namespace QuickMedia { PluginResult post_reply(RoomData *room, const std::string &body, void *relates_to, std::string &event_id_response); // |relates_to| is from |BodyItem.userdata| and is of type |Message*| PluginResult post_edit(RoomData *room, const std::string &body, void *relates_to, std::string &event_id_response); + // |relates_to| is from |BodyItem.userdata| and is of type |Message*| + PluginResult post_reaction(RoomData *room, const std::string &body, void *relates_to, std::string &event_id_response); PluginResult post_file(RoomData *room, const std::string &filepath, std::string &event_id_response, std::string &err_msg); PluginResult login(const std::string &username, const std::string &password, const std::string &homeserver, std::string &err_msg); -- cgit v1.2.3