mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-12 12:51:11 +01:00
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
|
||
|
}
|