Added some comments to the get_network_address method
This commit is contained in:
parent
cf24b870b1
commit
b52d2768b0
1 changed files with 6 additions and 1 deletions
|
@ -97,8 +97,13 @@ class xep_0065(base_plugin):
|
|||
return '%s' % disco_info['from']
|
||||
|
||||
def get_network_address(self, streamer):
|
||||
""" Gets the streamhost information of the proxy.
|
||||
|
||||
streamer : The jid of the proxy.
|
||||
"""
|
||||
|
||||
iq = self.xmpp.Iq(sto=streamer, stype='get')
|
||||
iq['q']
|
||||
iq['q'] # Adds the query eleme to the iq.
|
||||
|
||||
return iq.send()
|
||||
|
||||
|
|
Loading…
Reference in a new issue