diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-19 18:51:08 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-19 18:51:08 +0900 |
commit | 3bf51eea5e6152cd39daa971ac6f88d0571ce198 (patch) | |
tree | ed1a02c1315b1ce06590c8f77f533d30804fd8e0 | |
parent | b7c1ff183384738f170d53128c684681cb34f3b7 (diff) | |
download | libquotient-3bf51eea5e6152cd39daa971ac6f88d0571ce198.tar.gz libquotient-3bf51eea5e6152cd39daa971ac6f88d0571ce198.zip |
Fix a typo in the previous commit
A symptom that you suffered from it is you don't see any usernames whatsoever, and after restarting room names are also gone (to fix that, delete cache files).
-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 7bc25a07..366aa858 100644 --- a/events/event.cpp +++ b/events/event.cpp @@ -138,7 +138,7 @@ QString RoomEvent::roomId() const QString RoomEvent::senderId() const { - return originalJsonObject().value("sender_id").toString(); + return originalJsonObject().value("sender").toString(); } QString RoomEvent::redactionReason() const |