More clarification in docs for XEP-0030 plugin.

This commit is contained in:
Lance Stout 2011-01-04 19:39:10 -05:00
parent 4b145958fa
commit 8b29431cde

View file

@ -229,6 +229,9 @@ class xep_0030(base_plugin):
by executing the local node handlers, or if a disco#info stanza by executing the local node handlers, or if a disco#info stanza
must be generated and sent. 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: Arguments:
jid -- Request info from this JID. jid -- Request info from this JID.
node -- The particular node to query. 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 executing the local node handlers, or if a disco#items stanza must
be generated and sent. 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: Arguments:
jid -- Request info from this JID. jid -- Request info from this JID.
node -- The particular node to query. node -- The particular node to query.