aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-26 22:21:55 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-26 22:21:55 +0200
commit98d9b6856061e6c1951b03ca6b197d581e357189 (patch)
tree5ae068e902f48dd6a4a3d0a82e8e61186b298cdb /plugins
parent4eb9d876afd031582908db1ed0ffc10a47f76d57 (diff)
matrix: send start/stop typing
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 3382270..7b8c13f 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -76,6 +76,9 @@ namespace QuickMedia {
PluginResult login(const std::string &username, const std::string &password, const std::string &homeserver, std::string &err_msg);
PluginResult load_and_verify_cached_session();
+
+ PluginResult on_start_typing(const std::string &room_id);
+ PluginResult on_stop_typing(const std::string &room_id);
private:
PluginResult sync_response_to_body_items(const Json::Value &root);
PluginResult get_previous_room_messages(const std::string &room_id, RoomData *room_data);