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

Method countSub

server/session.go:215–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213}
214
215func (s *Session) countSub() int {
216 if s.multi != nil {
217 return s.multi.countSub()
218 }
219 return len(s.subs)
220}
221
222// Inform topics that the session is being terminated.
223// No need to check for s.multi because it's not called for PROXY sessions.

Callers 1

addSubMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected