diff options
author | Sandro Munda <sandro.munda@guardis.com> | 2012-06-04 08:07:29 +0200 |
---|---|---|
committer | Sandro Munda <sandro.munda@guardis.com> | 2012-06-07 18:38:56 +0200 |
commit | b52d2768b0ff63df3b3006e419477cb9e462c1f9 (patch) | |
tree | d758942b5c43f22d532faff46d15824afcd5352e /sleekxmpp | |
parent | cf24b870b124be3f41c496aa2a99b4c6f626e22f (diff) | |
download | slixmpp-b52d2768b0ff63df3b3006e419477cb9e462c1f9.tar.gz slixmpp-b52d2768b0ff63df3b3006e419477cb9e462c1f9.tar.bz2 slixmpp-b52d2768b0ff63df3b3006e419477cb9e462c1f9.tar.xz slixmpp-b52d2768b0ff63df3b3006e419477cb9e462c1f9.zip |
Added some comments to the get_network_address method
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/plugins/xep_0065/proxy.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0065/proxy.py b/sleekxmpp/plugins/xep_0065/proxy.py index d9d629f6..7d983840 100644 --- a/sleekxmpp/plugins/xep_0065/proxy.py +++ b/sleekxmpp/plugins/xep_0065/proxy.py @@ -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() |