summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-08-03 16:05:09 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-08-03 16:05:09 +0200
commit0e7176483bfecc6b1f98b6cd736459653d39f115 (patch)
treeb29fa4efcb0c38254507d36c38cf893b544bf3ff
parentf35569a2c11d988c0d7200eec94ea2eb9c527acb (diff)
downloadslixmpp-0e7176483bfecc6b1f98b6cd736459653d39f115.tar.gz
slixmpp-0e7176483bfecc6b1f98b6cd736459653d39f115.tar.bz2
slixmpp-0e7176483bfecc6b1f98b6cd736459653d39f115.tar.xz
slixmpp-0e7176483bfecc6b1f98b6cd736459653d39f115.zip
xep_0030: add docstring to get_info_from_domain
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--slixmpp/plugins/xep_0030/disco.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0030/disco.py b/slixmpp/plugins/xep_0030/disco.py
index a8d0b75e..b79a14ff 100644
--- a/slixmpp/plugins/xep_0030/disco.py
+++ b/slixmpp/plugins/xep_0030/disco.py
@@ -300,6 +300,8 @@ class XEP_0030(BasePlugin):
async def get_info_from_domain(self, domain=None, timeout=None,
cached=True, callback=None):
+ """Fetch disco#info of specified domain and one disco#items level below"""
+
if domain is None:
domain = self.xmpp.boundjid.domain