Fix joined hosts

This commit is contained in:
Neil Alexander 2022-10-10 14:24:26 +01:00
parent 391d531ec3
commit f06dd56df6
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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