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

Fix brace style in TextForEvent.js
This commit is contained in:
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

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