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

Method IsStateEvent

roomserver/types/types.go:187–189  ·  view source on GitHub ↗

IsStateEvent returns whether the event the state is at is a state event.

()

Source from the content-addressed store, hash-verified

185
186// IsStateEvent returns whether the event the state is at is a state event.
187func (s StateAtEvent) IsStateEvent() bool {
188 return s.EventStateKeyNID != 0
189}
190
191// StateAtEventAndReference is StateAtEvent and gomatrixserverlib.EventReference glued together.
192// It is used when looking up the latest events in a room in the database.

Callers 3

latestStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected