0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-25 18:33:48 +01:00
This commit is contained in:
Neil Alexander 2022-11-16 15:10:33 +00:00
parent a916b041b1
commit 163dabc498
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -125,7 +125,7 @@ func (d *Database) GetJoinedHostsForRooms(ctx context.Context, roomIDs []string,
if excludeSelf {
for i, server := range servers {
if d.IsLocalServerName(server) {
copy(servers[:i], servers[i+1:])
copy(servers[i:], servers[i+1:])
servers = servers[:len(servers)-1]
break
}