From 796924ef35124dbdc86a753c43a34249f2086111 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@googlemail.com> Date: Mon, 25 Sep 2017 15:49:48 +0100 Subject: [PATCH] Fix typo as found by Luke --- src/TextForEvent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextForEvent.js b/src/TextForEvent.js index 400a04f6b3..a21eb5c251 100644 --- a/src/TextForEvent.js +++ b/src/TextForEvent.js @@ -67,7 +67,7 @@ function textForMemberEvent(ev) { senderName, oldDisplayName: prevContent.displayname, }); - } else if (prevContent.avatar_url && !prevContent.avatar_url) { + } else if (prevContent.avatar_url && !content.avatar_url) { return _t('%(senderName)s removed their profile picture.', {senderName}); } else if (prevContent.avatar_url && content.avatar_url && prevContent.avatar_url !== content.avatar_url) {