aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-22 11:46:01 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-22 11:46:01 +0100
commit818f65e1d9e21a2b0dcecf34312b217000da7c92 (patch)
treea9633c18104c9169433cb4a6e4c96c960d78a669 /plugins
parent5dd0248e16522a3672c58a7892d549840257e8dd (diff)
Matrix: add /react
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp2
1 files changed, 2 insertions, 0 deletions
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);