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

Method isInactive

server/topic.go:3750–3752  ·  view source on GitHub ↗

isInactive checks if topic is paused or being deleted.

()

Source from the content-addressed store, hash-verified

3748
3749// isInactive checks if topic is paused or being deleted.
3750func (t *Topic) isInactive() bool {
3751 return (atomic.LoadInt32(&t.status) & (topicStatusPaused | topicStatusMarkedDeleted)) != 0
3752}
3753
3754func (t *Topic) isReadOnly() bool {
3755 return (atomic.LoadInt32(&t.status) & topicStatusReadOnly) != 0

Callers 10

runProxyMethod · 0.95
handleProxyBroadcastMethod · 0.95
handleCallEventMethod · 0.95
registerSessionMethod · 0.95
handleServerMsgMethod · 0.95
handleLeaveRequestMethod · 0.95
handlePubBroadcastMethod · 0.95
handleNoteBroadcastMethod · 0.95
procPresReqMethod · 0.95
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected