mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-12-03 03:31:56 -06:00
b7a2d369c0
* Change how servers are selected for missing auth/prev events * Shuffle order * Move ServersInRoomProvider into api package
12 lines
239 B
Go
12 lines
239 B
Go
package api
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/matrix-org/gomatrixserverlib"
|
|
)
|
|
|
|
type ServersInRoomProvider interface {
|
|
GetServersForRoom(ctx context.Context, roomID string, event *gomatrixserverlib.Event) []gomatrixserverlib.ServerName
|
|
}
|