aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roomevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-02 19:31:22 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-02 19:47:19 +0200
commit08e19449ad4e33b9ec3eb66c56501f1c4a977350 (patch)
treeda89d6a86e0da7e6d6cbe9dd47f61fec2571e4e6 /lib/events/roomevent.h
parent896639f1e8b03b5d90e89a28c7d58596eb50df6a (diff)
downloadlibquotient-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/roomevent.h')
-rw-r--r--lib/events/roomevent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/events/roomevent.h b/lib/events/roomevent.h
index 621652cb..084cb524 100644
--- a/lib/events/roomevent.h
+++ b/lib/events/roomevent.h
@@ -87,6 +87,9 @@ public:
*/
void addId(const QString& newId);
+protected:
+ void dumpTo(QDebug dbg) const override;
+
private:
event_ptr_tt<RedactionEvent> _redactedBecause;
};