diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-12-09 18:19:53 +0300 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-12-09 18:34:34 +0300 |
commit | 608e252bae9cf8cf763e05363bfacf5e1760134f (patch) | |
tree | da92218aa3f44e0216ace4a7046c10fe0f9f3e63 /lib/events/roomevent.h | |
parent | 1b38ad0ce7ca8b2a5a7e4936824697b84e6b7076 (diff) | |
download | libquotient-608e252bae9cf8cf763e05363bfacf5e1760134f.tar.gz libquotient-608e252bae9cf8cf763e05363bfacf5e1760134f.zip |
RoomEvent::timestamp() -> originTimestamp()
The previous name is still available but deprecated.
Diffstat (limited to 'lib/events/roomevent.h')
-rw-r--r-- | lib/events/roomevent.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/events/roomevent.h b/lib/events/roomevent.h index f943bce4..621652cb 100644 --- a/lib/events/roomevent.h +++ b/lib/events/roomevent.h @@ -46,7 +46,10 @@ public: ~RoomEvent() override; QString id() const; - QDateTime timestamp() const; + QDateTime originTimestamp() const; + [[deprecated("Use originTimestamp()")]] QDateTime timestamp() const { + return originTimestamp(); + } QString roomId() const; QString senderId() const; bool isReplaced() const; |