mirror of
https://codeberg.org/yeentown/barkey
synced 2024-12-18 12:09:59 +00:00
fix federation hosts incorrectly being set to blocked hosts
This commit is contained in:
parent
b2833c499c
commit
b02a670142
1 changed files with 1 additions and 1 deletions
|
@ -709,7 +709,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
}
|
||||
|
||||
if (Array.isArray(ps.federationHosts)) {
|
||||
set.blockedHosts = ps.federationHosts.filter(Boolean).map(x => x.toLowerCase());
|
||||
set.federationHosts = ps.federationHosts.filter(Boolean).map(x => x.toLowerCase());
|
||||
}
|
||||
|
||||
const before = await this.metaService.fetch(true);
|
||||
|
|
Loading…
Reference in a new issue