diff options
Diffstat (limited to 'events/event.cpp')
-rw-r--r-- | events/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/events/event.cpp b/events/event.cpp index 354aed03..1e2d89f2 100644 --- a/events/event.cpp +++ b/events/event.cpp @@ -87,9 +87,9 @@ 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"])) - , _senderId(rep["sender"].toString()) { // if (_id.isEmpty()) // { |