aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-19 18:51:08 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-19 18:51:08 +0900
commit3bf51eea5e6152cd39daa971ac6f88d0571ce198 (patch)
treeed1a02c1315b1ce06590c8f77f533d30804fd8e0
parentb7c1ff183384738f170d53128c684681cb34f3b7 (diff)
downloadlibquotient-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.cpp2
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