changeset 1259:633fcd13a7dc

plugin pubsub: fixed a bug introducted in revision 318eab3f93f8: getDiscoItems handler method which is called on disco items request, was calling getDiscoItems from host, which do a request itself, resulting in an infinite items request loop.
author Goffi <goffi@goffi.org>
date Fri, 21 Nov 2014 16:35:40 +0100
parents c585df65828a
children c8cf61c6d238
files src/plugins/plugin_xep_0060.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0060.py	Wed Oct 22 18:58:29 2014 +0200
+++ b/src/plugins/plugin_xep_0060.py	Fri Nov 21 16:35:40 2014 +0100
@@ -350,7 +350,7 @@
         return disco_info
 
     def getDiscoItems(self, requestor, service, nodeIdentifier=''):
-        return self.host.getDiscoItems(service, nodeIdentifier, self.parent.profile)
+        return []
 
 
 class PubSubRequest(pubsub.PubSubRequest):