aboutsummaryrefslogtreecommitdiff
path: root/lib/eventitem.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-08 18:35:35 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-08 18:35:35 +0200
commit803f5d21935fe159a87864f10a52707eaf93fe5f (patch)
treec3a65a91e488043c9e3a0d5330374a6185f938d8 /lib/eventitem.h
parent160b11bdfe32c9983fe5f34eafa783148b2decbe (diff)
downloadlibquotient-803f5d21935fe159a87864f10a52707eaf93fe5f.tar.gz
libquotient-803f5d21935fe159a87864f10a52707eaf93fe5f.zip
EventStatus::Replaced
This can be handy to pass the replaced status to QML.
Diffstat (limited to 'lib/eventitem.h')
-rw-r--r--lib/eventitem.h3
1 files changed, 2 insertions, 1 deletions
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)