From e074be6a42d4fbc9fd76566365f3ef148a8e7bdd Mon Sep 17 00:00:00 2001 From: Felix Rohrbach Date: Mon, 11 Apr 2016 02:18:45 +0200 Subject: Missing method in the last commit --- events/roommessageevent.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 +} -- cgit v1.2.3