diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-13 22:43:47 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-31 11:16:22 +0900 |
commit | b87097866f38b90f36fb216b7516a135227930a1 (patch) | |
tree | 338fcef74f834c70e849e5e605660af4a6a4bcd6 /lib/events/roomevent.h | |
parent | 26bc529ec86dce5478ab37222a27902af7f0dd5a (diff) | |
download | libquotient-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.h | 2 |
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 { |