From f06dd56df66671a7cb995c6be08725015b8e4241 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 10 Oct 2022 14:24:26 +0100 Subject: [PATCH] Fix joined hosts --- federationapi/storage/shared/storage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/federationapi/storage/shared/storage.go b/federationapi/storage/shared/storage.go index a00d782f1..1035df69c 100644 --- a/federationapi/storage/shared/storage.go +++ b/federationapi/storage/shared/storage.go @@ -88,6 +88,7 @@ func (d *Database) UpdateRoom( if err != nil { return err } + joinedHosts = append(joinedHosts, add) } if err = d.FederationJoinedHosts.DeleteJoinedHosts(ctx, txn, removeHosts); err != nil { return err