Change avatar update text (fixes #139)

square-messages
expectocode 2019-05-10 11:13:26 +01:00
parent 50445bccf1
commit 958f867734
1 changed files with 3 additions and 1 deletions

View File

@ -144,8 +144,10 @@ class SpectralRoom : public Room {
text += " and ";
if (e.avatarUrl().isEmpty())
text += tr("cleared the avatar");
else if (e.prevContent()->avatarUrl.isEmpty())
text += tr("set an avatar");
else
text += tr("updated the avatar");
text += tr("updated their avatar");
}
return text;
}