mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -06:00
fix oops.
This commit is contained in:
parent
52aa054db0
commit
cf175bb400
|
|
@ -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 the event is a create event then we'll delete all of the existing
|
||||
// data for the room. The only reason that a create event would be replayed
|
||||
|
|
|
|||
Loading…
Reference in a new issue