mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Semicolons
This commit is contained in:
parent
52b1d946be
commit
9a4075c637
@ -152,11 +152,11 @@ function textForServerACLEvent(ev) {
|
||||
}
|
||||
|
||||
if (!Array.isArray(current.allow)){
|
||||
current.allow = []
|
||||
current.allow = [];
|
||||
}
|
||||
|
||||
if (!Array.isArray(current.deny)){
|
||||
current.deny = []
|
||||
current.deny = [];
|
||||
}
|
||||
|
||||
const bannedServers = current.deny.filter((srv) => typeof(srv) === 'string' && !prev.deny.includes(srv));
|
||||
|
Loading…
Reference in New Issue
Block a user