From 3bf51eea5e6152cd39daa971ac6f88d0571ce198 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 19 Feb 2018 18:51:08 +0900 Subject: 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). --- events/event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3