MCPcopy Create free account
hub / github.com/tinode/chat / pack_extra

Function pack_extra

tn-cli/commands.py:44–45  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

42
43# Create proto for ClientExtra
44def pack_extra(cmd):
45 return pb.ClientExtra(on_behalf_of=tn_globals.DefaultUser, auth_level=pb.ROOT if cmd.as_root else pb.NONE)
46
47
48# Read a value in the server response using dot notation, i.e.

Callers 8

accMsgFunction · 0.85
subMsgFunction · 0.85
leaveMsgFunction · 0.85
pubMsgFunction · 0.85
getMsgFunction · 0.85
setMsgFunction · 0.85
delMsgFunction · 0.85
noteMsgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected