From d7631f443388b638b357f50462d99663fdc2ee85 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 9 Feb 2021 16:12:28 +0100 Subject: I hate this garbage piece of shitware --- plugins/Matrix.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/Matrix.hpp') 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 replaced_by = nullptr; // TODO: Store body item ref here }; @@ -201,6 +202,7 @@ namespace QuickMedia { using Rooms = std::vector; bool message_contains_user_mention(const std::string &msg, const std::string &username); + bool message_is_timeline(Message *message); enum class MatrixPageType { ROOM_LIST, -- cgit v1.2.3