diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-08-02 19:31:22 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-08-02 19:47:19 +0200 |
commit | 08e19449ad4e33b9ec3eb66c56501f1c4a977350 (patch) | |
tree | da89d6a86e0da7e6d6cbe9dd47f61fec2571e4e6 /lib/events/event.h | |
parent | 896639f1e8b03b5d90e89a28c7d58596eb50df6a (diff) | |
download | libquotient-08e19449ad4e33b9ec3eb66c56501f1c4a977350.tar.gz libquotient-08e19449ad4e33b9ec3eb66c56501f1c4a977350.zip |
Event::dumpTo: make protected, and RoomEvent override
The override adds the event's origin timestamp
Diffstat (limited to 'lib/events/event.h')
-rw-r--r-- | lib/events/event.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |