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