fix: bubble state not working on federation page

This commit is contained in:
Marie 2024-01-02 20:43:11 +01:00
parent c887e4cccb
commit d412879560
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -157,7 +157,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
return [];
}
query.andWhere('instance.host IN (:...bubble)', {
silences: meta.bubbleInstances,
bubble: meta.bubbleInstances,
});
} else if (meta.bubbleInstances.length > 0) {
query.andWhere('instance.host NOT IN (:...bubble)', {