From 08e19449ad4e33b9ec3eb66c56501f1c4a977350 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 2 Aug 2020 19:31:22 +0200 Subject: Event::dumpTo: make protected, and RoomEvent override The override adds the event's origin timestamp --- lib/events/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/events/event.h') diff --git a/lib/events/event.h b/lib/events/event.h index 6c8961ad..5b9f20b7 100644 --- a/lib/events/event.h +++ b/lib/events/event.h @@ -270,10 +270,10 @@ public: virtual bool isStateEvent() const { return false; } virtual bool isCallEvent() const { return false; } - virtual void dumpTo(QDebug dbg) const; protected: QJsonObject& editJson() { return _json; } + virtual void dumpTo(QDebug dbg) const; private: Type _type; -- cgit v1.2.3