From ce8e1dcfc12ee9b9d41afbb577a22070dab0f4bd Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 21 Nov 2014 16:35:40 +0100 Subject: [PATCH] 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. --- src/plugins/plugin_xep_0060.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_xep_0060.py b/src/plugins/plugin_xep_0060.py index 8107738f..5d28a9be 100755 --- a/src/plugins/plugin_xep_0060.py +++ b/src/plugins/plugin_xep_0060.py @@ -350,7 +350,7 @@ class SatPubSubClient(pubsub.PubSubClient): return disco_info def getDiscoItems(self, requestor, service, nodeIdentifier=''): - return self.host.getDiscoItems(service, nodeIdentifier, self.parent.profile) + return [] class PubSubRequest(pubsub.PubSubRequest):