mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 00:01:55 -06:00
Fix that thing again
This commit is contained in:
parent
c52f4b95f1
commit
73408a1beb
|
@ -69,7 +69,6 @@ func (d *Database) UpdateRoom(
|
|||
purgeRoomFirst bool,
|
||||
) (joinedHosts []types.JoinedHost, err error) {
|
||||
err = d.Writer.Do(d.DB, nil, func(txn *sql.Tx) error {
|
||||
var joinedHosts []types.JoinedHost
|
||||
if purgeRoomFirst {
|
||||
if err = d.FederationJoinedHosts.DeleteJoinedHostsForRoom(ctx, txn, roomID); err != nil {
|
||||
return fmt.Errorf("d.FederationJoinedHosts.DeleteJoinedHosts: %w", err)
|
||||
|
|
Loading…
Reference in a new issue