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.cpp | |
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.cpp')
-rw-r--r-- | lib/events/roomevent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/roomevent.cpp b/lib/events/roomevent.cpp index 4a9a8b5d..a59cd6e0 100644 --- a/lib/events/roomevent.cpp +++ b/lib/events/roomevent.cpp @@ -44,7 +44,7 @@ RoomEvent::~RoomEvent() = default; // Let the smart pointer do its job QString RoomEvent::id() const { return fullJson()[EventIdKeyL].toString(); } -QDateTime RoomEvent::timestamp() const +QDateTime RoomEvent::originTimestamp() const { return Quotient::fromJson<QDateTime>(fullJson()["origin_server_ts"_ls]); } |