diff --git a/src/neochatroom.cpp b/src/neochatroom.cpp index 3947f700f..77df03503 100644 --- a/src/neochatroom.cpp +++ b/src/neochatroom.cpp @@ -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");