Fix segfault
This commit is contained in:
@@ -312,7 +312,7 @@ QString NeoChatRoom::eventToString(const RoomEvent &evt, Qt::TextFormat format,
|
||||
text += " and ";
|
||||
if (!e.newAvatarUrl())
|
||||
text += tr("cleared their avatar");
|
||||
else if (e.prevContent()->avatarUrl->isEmpty())
|
||||
else if (!e.prevContent()->avatarUrl)
|
||||
text += tr("set an avatar");
|
||||
else
|
||||
text += tr("updated their avatar");
|
||||
|
||||
Reference in New Issue
Block a user