aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roomevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-13 22:43:47 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-31 11:16:22 +0900
commitb87097866f38b90f36fb216b7516a135227930a1 (patch)
tree338fcef74f834c70e849e5e605660af4a6a4bcd6 /lib/events/roomevent.h
parent26bc529ec86dce5478ab37222a27902af7f0dd5a (diff)
downloadlibquotient-b87097866f38b90f36fb216b7516a135227930a1.tar.gz
libquotient-b87097866f38b90f36fb216b7516a135227930a1.zip
Initial support for edited messages (receive only)
Diffstat (limited to 'lib/events/roomevent.h')
-rw-r--r--lib/events/roomevent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/events/roomevent.h b/lib/events/roomevent.h
index e26a7135..0e6f730d 100644
--- a/lib/events/roomevent.h
+++ b/lib/events/roomevent.h
@@ -51,6 +51,8 @@ namespace QMatrixClient
QDateTime timestamp() const;
QString roomId() const;
QString senderId() const;
+ bool isReplaced() const;
+ QString replacedBy() const;
bool isRedacted() const { return bool(_redactedBecause); }
const event_ptr_tt<RedactionEvent>& redactedBecause() const
{