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

Method IsReader

server/store/types/types.go:820–822  ·  view source on GitHub ↗

IsReader checks if reader flag R is set.

()

Source from the content-addressed store, hash-verified

818
819// IsReader checks if reader flag R is set.
820func (m AccessMode) IsReader() bool {
821 return m&ModeRead != 0
822}
823
824// IsPresencer checks if user receives presence updates (P flag set).
825func (m AccessMode) IsPresencer() bool {

Callers 15

pushForDataMethod · 0.80
pushForGroupSubMethod · 0.80
replyOfflineTopicGetSubFunction · 0.80
userIsReaderMethod · 0.80
handleNoteBroadcastMethod · 0.80
thisUserSubMethod · 0.80
anotherUserSubMethod · 0.80
replyGetDescMethod · 0.80
replyGetSubMethod · 0.80
replyGetDataMethod · 0.80
replyGetDelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected