From 958f867734e43b863602141e152df3d497c13ad7 Mon Sep 17 00:00:00 2001 From: expectocode Date: Fri, 10 May 2019 11:13:26 +0100 Subject: [PATCH] Change avatar update text (fixes #139) --- src/spectralroom.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/spectralroom.h b/src/spectralroom.h index 6b4908c..205c3f6 100644 --- a/src/spectralroom.h +++ b/src/spectralroom.h @@ -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; }