summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-01-04 19:39:10 -0500
committerLance Stout <lancestout@gmail.com>2011-01-04 19:39:10 -0500
commit8b29431cdeff5647208e3eab108bba9e9c8318fc (patch)
tree567ff557ab49dd1c4f11b6503a82fd4832842625
parent4b145958fae50c5e2a13a59238364a479c54bd9e (diff)
downloadslixmpp-8b29431cdeff5647208e3eab108bba9e9c8318fc.tar.gz
slixmpp-8b29431cdeff5647208e3eab108bba9e9c8318fc.tar.bz2
slixmpp-8b29431cdeff5647208e3eab108bba9e9c8318fc.tar.xz
slixmpp-8b29431cdeff5647208e3eab108bba9e9c8318fc.zip
More clarification in docs for XEP-0030 plugin.
-rw-r--r--sleekxmpp/plugins/xep_0030/disco.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0030/disco.py b/sleekxmpp/plugins/xep_0030/disco.py
index b47cd4bb..4958c931 100644
--- a/sleekxmpp/plugins/xep_0030/disco.py
+++ b/sleekxmpp/plugins/xep_0030/disco.py
@@ -229,6 +229,9 @@ class xep_0030(base_plugin):
by executing the local node handlers, or if a disco#info stanza
must be generated and sent.
+ If requesting items from a local JID/node, then only a DiscoInfo
+ stanza will be returned. Otherwise, an Iq stanza will be returned.
+
Arguments:
jid -- Request info from this JID.
node -- The particular node to query.
@@ -271,6 +274,9 @@ class xep_0030(base_plugin):
executing the local node handlers, or if a disco#items stanza must
be generated and sent.
+ If requesting items from a local JID/node, then only a DiscoItems
+ stanza will be returned. Otherwise, an Iq stanza will be returned.
+
Arguments:
jid -- Request info from this JID.
node -- The particular node to query.