From 5dd0248e16522a3672c58a7892d549840257e8dd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 22 Nov 2020 10:29:58 +0100 Subject: Matrix: add reactions --- plugins/Matrix.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'plugins/Matrix.hpp') diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 8e96c54..1a0ffe0 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -40,8 +40,9 @@ namespace QuickMedia { AUDIO, FILE, REDACTION, - UNIMPLEMENTED, - MEMBERSHIP + REACTION, + MEMBERSHIP, + UNIMPLEMENTED }; bool is_visual_media_message_type(MessageType message_type); @@ -50,7 +51,8 @@ namespace QuickMedia { NONE, REPLY, EDIT, - REDACTION + REDACTION, + REACTION }; class MatrixEvent { @@ -71,6 +73,7 @@ namespace QuickMedia { bool cache = false; time_t timestamp = 0; // In milliseconds MessageType type; + // TODO: Store body item ref here }; struct RoomData { -- cgit v1.2.3