Remove things from the map when we're done

This commit is contained in:
Neil Alexander 2022-01-31 12:36:58 +00:00
parent ddb11b2bc2
commit 97a3b6bd00
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -159,6 +159,7 @@ func (r *Inputer) processRoomEvent(
}
for server := range servers {
serverRes.ServerNames = append(serverRes.ServerNames, server)
delete(servers, server)
}
}