aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-19 10:16:05 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-19 10:16:05 +0100
commit9aa8c291e775083078efe93d0bc42390955ae61a (patch)
tree3d997db844e6c4796a91dc1e5eb1b2124a50100a /plugins
parentff1390601c8b7b4fbec87f3f23a76495118eff91 (diff)
Matrix: cache get_message_by_id, temporary remove fetching additional messages which corrupts messages
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index e6a35e2..71d9664 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -53,6 +53,11 @@ namespace QuickMedia {
REDACTION
};
+ class MatrixEvent {
+ public:
+ virtual ~MatrixEvent() = default;
+ };
+
struct Message {
std::shared_ptr<UserInfo> user;
std::string event_id;