# HG changeset patch # User Goffi # Date 1416584140 -3600 # Node ID 633fcd13a7dccc33a8c3f2fdefa5a21df7b2e248 # Parent c585df65828ab9d10497ff87c5c01410d942ca77 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. diff -r c585df65828a -r 633fcd13a7dc src/plugins/plugin_xep_0060.py --- 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):