aboutsummaryrefslogtreecommitdiff
path: root/events/redactionevent.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-10 09:49:08 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-10 16:20:22 +0900
commit6ecdefd8463c0b393dc51535ddb4b4283b5891d8 (patch)
tree70cfe732adf08676246c4432b0f9076ad9392785 /events/redactionevent.cpp
parentc38366210643ef0956884531910d7ece3d6a4cac (diff)
downloadlibquotient-6ecdefd8463c0b393dc51535ddb4b4283b5891d8.tar.gz
libquotient-6ecdefd8463c0b393dc51535ddb4b4283b5891d8.zip
RedactionEvent and RoomEvent::redactedBecause()
A RoomEvent now has an optional pointer to a RedactionEvent that is non-null if the room event is redacted. transactionId and serverTimestamp are only filled if the event is not redacted. There's no way to construct a redacted event as of yet.
Diffstat (limited to 'events/redactionevent.cpp')
-rw-r--r--events/redactionevent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/events/redactionevent.cpp b/events/redactionevent.cpp
new file mode 100644
index 00000000..bf467718
--- /dev/null
+++ b/events/redactionevent.cpp
@@ -0,0 +1 @@
+#include "redactionevent.h"