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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/events/roomevent.h b/lib/events/roomevent.h
index a7d6c428..0692ad8a 100644
--- a/lib/events/roomevent.h
+++ b/lib/events/roomevent.h
@@ -98,6 +98,11 @@ public:
QString callId() const { return contentPart<QString>("call_id"_ls); }
int version() const { return contentPart<int>("version"_ls); }
+
+protected:
+ static QJsonObject basicJson(const QString& matrixType,
+ const QString& callId, int version,
+ QJsonObject contentJson = {});
};
} // namespace Quotient
Q_DECLARE_METATYPE(Quotient::RoomEvent*)