From 803f5d21935fe159a87864f10a52707eaf93fe5f Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 8 Apr 2020 18:35:35 +0200 Subject: EventStatus::Replaced This can be handy to pass the replaced status to QML. --- lib/eventitem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/eventitem.h') diff --git a/lib/eventitem.h b/lib/eventitem.h index 3a7061d3..7b2c3c44 100644 --- a/lib/eventitem.h +++ b/lib/eventitem.h @@ -42,7 +42,8 @@ public: ReachedServer = 0x04, //< The server has received the event SendingFailed = 0x05, //< The server could not receive the event Redacted = 0x08, //< The event has been redacted - Hidden = 0x10, //< The event should not be shown in the timeline + Replaced = 0x10, //< The event has been replaced + Hidden = 0x100, //< The event should not be shown in the timeline }; Q_DECLARE_FLAGS(Status, Code) Q_FLAG(Status) -- cgit v1.2.3