diff --git a/src/TextForEvent.js b/src/TextForEvent.js index 38d3b63e1a..96cccf07fb 100644 --- a/src/TextForEvent.js +++ b/src/TextForEvent.js @@ -248,8 +248,7 @@ function textForCanonicalAliasEvent(ev) { senderName: senderName, address: ev.getContent().alias, }); - } - else if (oldAlias) { + } else if (oldAlias) { return _t('%(senderName)s removed the main address for this room.', { senderName: senderName, });