fix federation hosts incorrectly being set to blocked hosts

This commit is contained in:
zima 2024-12-06 12:10:41 -07:00
parent b2833c499c
commit b02a670142

View file

@ -709,7 +709,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
} }
if (Array.isArray(ps.federationHosts)) { 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); const before = await this.metaService.fetch(true);