From cf175bb4001481d6f9aacae52e28129358d4769f Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 10 Oct 2022 15:12:18 +0100 Subject: [PATCH] fix oops. --- federationapi/storage/shared/storage.go | 1 - 1 file changed, 1 deletion(-) diff --git a/federationapi/storage/shared/storage.go b/federationapi/storage/shared/storage.go index eecdc8ecf..dc5a00d1c 100644 --- a/federationapi/storage/shared/storage.go +++ b/federationapi/storage/shared/storage.go @@ -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