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

Method RoomMemberCount

internal/pushrules/evaluate.go:26–26  ·  view source on GitHub ↗

RoomMemberCount returns the number of members in the room of the current event.

()

Source from the content-addressed store, hash-verified

24 // RoomMemberCount returns the number of members in the room of
25 // the current event.
26 RoomMemberCount() (int, error)
27
28 // HasPowerLevel returns whether the user has at least the given
29 // power in the room of the current event.

Callers 1

conditionMatchesFunction · 0.65

Implementers 2

ruleSetEvalContextuserapi/consumers/syncapi_streamevent.
fakeEvaluationContextinternal/pushrules/evaluate_test.go

Calls

no outgoing calls

Tested by

no test coverage detected