Restore the getServers RS query (needs optimisation)
parent
4417f24678
commit
f645646ca9
|
@ -486,7 +486,6 @@ func (t *txnReq) getServers(ctx context.Context, roomID string) []gomatrixserver
|
|||
return t.servers
|
||||
}
|
||||
t.servers = []gomatrixserverlib.ServerName{t.Origin}
|
||||
/*
|
||||
serverReq := &api.QueryServerJoinedToRoomRequest{
|
||||
RoomID: roomID,
|
||||
}
|
||||
|
@ -495,7 +494,6 @@ func (t *txnReq) getServers(ctx context.Context, roomID string) []gomatrixserver
|
|||
t.servers = append(t.servers, serverRes.ServerNames...)
|
||||
util.GetLogger(ctx).Infof("Found %d server(s) to query for missing events in %q", len(t.servers), roomID)
|
||||
}
|
||||
*/
|
||||
return t.servers
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue