MCPcopy Create free account
hub / github.com/daodst/chat / UpdateRoom

Method UpdateRoom

federationapi/storage/interface.go:29–29  ·  view source on GitHub ↗
(ctx context.Context, roomID string, addHosts []types.JoinedHost, removeHosts []string, purgeRoomFirst bool)

Source from the content-addressed store, hash-verified

27 gomatrixserverlib.KeyDatabase
28
29 UpdateRoom(ctx context.Context, roomID string, addHosts []types.JoinedHost, removeHosts []string, purgeRoomFirst bool) (joinedHosts []types.JoinedHost, err error)
30
31 GetJoinedHosts(ctx context.Context, roomID string) ([]types.JoinedHost, error)
32 GetAllJoinedHosts(ctx context.Context) ([]gomatrixserverlib.ServerName, error)

Callers 2

processMessageMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected