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

Method StreamToTopologicalPosition

syncapi/storage/interface.go:160–160  ·  view source on GitHub ↗
(ctx context.Context, roomID string, streamPos types.StreamPosition, backwardOrdering bool)

Source from the content-addressed store, hash-verified

158 SelectContextAfterEvent(ctx context.Context, id int, roomID string, filter *gomatrixserverlib.RoomEventFilter) (int, []*gomatrixserverlib.HeaderedEvent, error)
159
160 StreamToTopologicalPosition(ctx context.Context, roomID string, streamPos types.StreamPosition, backwardOrdering bool) (types.TopologyToken, error)
161
162 IgnoresForUser(ctx context.Context, userID string) (*types.IgnoredUsers, error)
163 UpdateIgnoresForUser(ctx context.Context, userID string, ignores *types.IgnoredUsers) error

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected