2021-06-30 12:05:58 +01:00
|
|
|
package api
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
|
|
|
|
|
"github.com/matrix-org/gomatrixserverlib"
|
2023-04-19 15:50:33 +01:00
|
|
|
"github.com/matrix-org/gomatrixserverlib/spec"
|
2021-06-30 12:05:58 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type ServersInRoomProvider interface {
|
2023-04-19 15:50:33 +01:00
|
|
|
GetServersForRoom(ctx context.Context, roomID string, event *gomatrixserverlib.Event) []spec.ServerName
|
2021-06-30 12:05:58 +01:00
|
|
|
}
|