Merge pull request #2191 from aaronraimist/brace-style-textforevent

Fix brace style in TextForEvent.js
pull/21833/head
Travis Ralston 2018-10-02 21:24:12 -06:00 committed by GitHub
commit 2f35eded37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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,
});