From e56920abd5cc126f1b9fa1915392ec1edfa507da Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Thu, 27 Oct 2022 21:07:33 +0200 Subject: [PATCH] Fix compilation --- src/neochatroom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neochatroom.cpp b/src/neochatroom.cpp index 2ac035c2a..5f674d946 100644 --- a/src/neochatroom.cpp +++ b/src/neochatroom.cpp @@ -228,7 +228,7 @@ bool NeoChatRoom::lastEventIsSpoiler() const QString NeoChatRoom::lastEventToString() const { if (auto event = lastEvent()) { - return memberName(event->senderId()) + (event->isStateEvent() ? " " : ": ") + eventToString(*event); + return roomMembername(event->senderId()) + (event->isStateEvent() ? " " : ": ") + eventToString(*event); } return QLatin1String(""); }