fd573880eb
Four new events have been added: disco_info - A disco#info result has been received disco_info_request - A disco#info request has been received disco_items - A disco#items result has been received disco_items_request - A disco#items request has been received For disco_info_request and disco_items_request two default handlers are registered. These handlers will only run if they are the only handler for these two events so that multiple responses are not returned and cause errors. In your own handlers for these two events, you can call the default handlers to preserve the static node behaviour as so: self.plugin['xep_0030'].handle_disco_info(iq, True) The forwarded=True will disable the check for other registered handlers. Agents can now dynamically respond to disco requests by using these events. (cherry picked from commit 0fc3381492a8bd75e6a9858539a972334881d8ff) |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
gmail_notify.py | ||
stanza_pubsub.py | ||
xep_0004.py | ||
xep_0009.py | ||
xep_0030.py | ||
xep_0045.py | ||
xep_0050.py | ||
xep_0060.py | ||
xep_0078.py | ||
xep_0086.py | ||
xep_0092.py | ||
xep_0199.py |