mirror of
https://github.com/matrix-org/dendrite
synced 2024-08-31 00:05:29 +02:00
* Change how servers are selected for missing auth/prev events * Shuffle order * Move ServersInRoomProvider into api package
11 lines
239 B
Go
11 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
|
|
}
|