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