aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roomevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/roomevent.h')
-rw-r--r--lib/events/roomevent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/events/roomevent.h b/lib/events/roomevent.h
index 7f13f6f2..35527a62 100644
--- a/lib/events/roomevent.h
+++ b/lib/events/roomevent.h
@@ -60,11 +60,15 @@ public:
//! callback for that in RoomEvent.
void addId(const QString& newId);
+ void setOriginalEvent(event_ptr_tt<RoomEvent> originalEvent);
+ const QJsonObject encryptedJson() const;
+
protected:
void dumpTo(QDebug dbg) const override;
private:
event_ptr_tt<RedactionEvent> _redactedBecause;
+ event_ptr_tt<RoomEvent> _originalEvent;
};
using RoomEventPtr = event_ptr_tt<RoomEvent>;
using RoomEvents = EventsArray<RoomEvent>;