Fix compilation

This commit is contained in:
Tobias Fella
2022-10-27 21:07:33 +02:00
parent c34d99a234
commit e56920abd5

View File

@@ -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("");
}