MCPcopy
hub / github.com/liuwons/wxBot / is_contact

Method is_contact

wxbot.py:204–208  ·  view source on GitHub ↗
(self, uid)

Source from the content-addressed store, hash-verified

202 return 'unknown'
203
204 def is_contact(self, uid):
205 for account in self.contact_list:
206 if uid == account['UserName']:
207 return True
208 return False
209
210 def is_public(self, uid):
211 for account in self.public_list:

Callers 1

handle_msgMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected