MCPcopy
hub / github.com/tinode/chat / SetState

Method SetState

server/store/types/types.go:1060–1062  ·  view source on GitHub ↗

SetState assigns topic's or user's state.

(state ObjState)

Source from the content-addressed store, hash-verified

1058
1059// SetState assigns topic's or user's state.
1060func (s *Subscription) SetState(state ObjState) {
1061 s.state = state
1062}
1063
1064// SetDummy marks this subscription object as only partially intialized.
1065func (s *Subscription) SetDummy(dummy bool) {

Callers 4

TopicsForUserMethod · 0.95
TopicsForUserMethod · 0.95
TopicsForUserMethod · 0.95
TopicsForUserMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected