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

Method GetTrusted

server/store/types/types.go:962–964  ·  view source on GitHub ↗

GetTrusted reads value of `trusted`.

()

Source from the content-addressed store, hash-verified

960
961// GetTrusted reads value of `trusted`.
962func (s *Subscription) GetTrusted() any {
963 return s.trusted
964}
965
966// SetWith sets other user for P2P subscriptions.
967func (s *Subscription) SetWith(with string) {

Callers 9

initTopicP2PFunction · 0.95
replyGetSubMethod · 0.95
pbSetDescDeserializeFunction · 0.45
pbSubSliceDeserializeFunction · 0.45
UsersForTopicMethod · 0.45
UsersForTopicMethod · 0.45
UsersForTopicMethod · 0.45
UsersForTopicMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected