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