Fix compilation with libQuotient master

This commit is contained in:
Tobias Fella
2020-11-10 15:46:23 +01:00
parent 344cb02309
commit debcf7a7b4

View File

@@ -307,7 +307,7 @@ QString NeoChatRoom::eventToString(const RoomEvent &evt, Qt::TextFormat format,
text += " and ";
if (e.avatarUrl().isEmpty())
text += tr("cleared their avatar");
else if (e.prevContent()->avatarUrl.isEmpty())
else if (e.prevContent()->avatarUrl->isEmpty())
text += tr("set an avatar");
else
text += tr("updated their avatar");