aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-02-09 16:12:28 +0100
committerdec05eba <dec05eba@protonmail.com>2021-02-09 16:12:34 +0100
commitd7631f443388b638b357f50462d99663fdc2ee85 (patch)
tree997102a7ec71ba4125511ea0b4b3b82e3588e821 /plugins
parentcdab2f33dbc361eec1d6a90899a907e61a682f18 (diff)
I hate this garbage piece of shitware
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 08be8e1..7b81b61 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -79,6 +79,7 @@ namespace QuickMedia {
bool provisional = false;
time_t timestamp = 0; // In milliseconds
MessageType type;
+ std::shared_ptr<Message> replaced_by = nullptr;
// TODO: Store body item ref here
};
@@ -201,6 +202,7 @@ namespace QuickMedia {
using Rooms = std::vector<RoomData*>;
bool message_contains_user_mention(const std::string &msg, const std::string &username);
+ bool message_is_timeline(Message *message);
enum class MatrixPageType {
ROOM_LIST,