aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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,