diff options
Diffstat (limited to 'events')
-rw-r--r-- | events/roommessageevent.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/events/roommessageevent.cpp b/events/roommessageevent.cpp index baaa9140..99d17e5c 100644 --- a/events/roommessageevent.cpp +++ b/events/roommessageevent.cpp @@ -67,6 +67,11 @@ QDateTime RoomMessageEvent::hsob_ts() const return d->hsob_ts; } +MessageEventContent* RoomMessageEvent::content() const +{ + return d->content; +} + RoomMessageEvent* RoomMessageEvent::fromJson(const QJsonObject& obj) { RoomMessageEvent* e = new RoomMessageEvent(); @@ -182,4 +187,4 @@ RoomMessageEvent* RoomMessageEvent::fromJson(const QJsonObject& obj) // } } return e; -}
\ No newline at end of file +} |