diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/events/event.cpp | 4 | ||||
-rw-r--r-- | lib/events/event.h | 5 |
2 files changed, 1 insertions, 8 deletions
diff --git a/lib/events/event.cpp b/lib/events/event.cpp index 8ddf3945..31520fc9 100644 --- a/lib/events/event.cpp +++ b/lib/events/event.cpp @@ -98,10 +98,6 @@ RoomEvent::RoomEvent(Event::Type type) : Event(type) { } RoomEvent::RoomEvent(Type type, const QJsonObject& rep) : Event(type, rep) , _id(rep["event_id"].toString()) -// , _roomId(rep["room_id"].toString()) -// , _senderId(rep["sender"].toString()) -// , _serverTimestamp( -// QMatrixClient::fromJson<QDateTime>(rep["origin_server_ts"])) { // if (_id.isEmpty()) // { diff --git a/lib/events/event.h b/lib/events/event.h index 68e598ad..4e2b1071 100644 --- a/lib/events/event.h +++ b/lib/events/event.h @@ -167,7 +167,7 @@ namespace QMatrixClient // constructors and destructors explicit RoomEvent(Type type); RoomEvent(Type type, const QJsonObject& rep); - ~RoomEvent(); + ~RoomEvent() override; QString id() const { return _id; } QDateTime timestamp() const; @@ -204,9 +204,6 @@ namespace QMatrixClient private: QString _id; -// QString _roomId; -// QString _senderId; -// QDateTime _serverTimestamp; event_ptr_tt<RedactionEvent> _redactedBecause; QString _txnId; }; |