Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Example for providing XEP-0030 #347

Open
h0ru5 opened this issue Mar 6, 2015 · 1 comment
Open

Example for providing XEP-0030 #347

h0ru5 opened this issue Mar 6, 2015 · 1 comment

Comments

@h0ru5
Copy link

h0ru5 commented Mar 6, 2015

As there is quite some documentation for the changes in XEP-30 plugin, but only an example for discovering, not for providing.

For me an example tells more than 1000 words and I'm struggeling a bit to get my bot to expose an item/node that appears e.g. in PSI+ (I did sniff the wire, the struggle is really about sending disco#items reply)

Could you please provide an example how to expose/provide a node/item for disco?

@elya5
Copy link
Contributor

elya5 commented Oct 26, 2015

If the plugin is registered, this should be done automatically by _handle_disco_info and _handle_disco_items in disco.py.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants