update comment
This commit is contained in:
parent
cb242e2bbd
commit
1d496233f8
|
@ -176,7 +176,7 @@ class Contacts:
|
||||||
|
|
||||||
def get_contact(self, account, jid, resource = None):
|
def get_contact(self, account, jid, resource = None):
|
||||||
'''Returns the list of contact instances for this jid (one per resource)
|
'''Returns the list of contact instances for this jid (one per resource)
|
||||||
if no resource is given
|
or [] if no resource is given
|
||||||
returns the contact instance for the given resource if it's given
|
returns the contact instance for the given resource if it's given
|
||||||
or None if there is not'''
|
or None if there is not'''
|
||||||
if jid in self._contacts[account]:
|
if jid in self._contacts[account]:
|
||||||
|
|
Loading…
Reference in New Issue