diff src/plugins/plugin_xep_0060.py @ 2423:e3edbccd26d7

XEP-0060: fixed bad attribute in getItems
author Goffi <goffi@goffi.org>
date Wed, 08 Nov 2017 07:47:01 +0100
parents 8b37a62336c3
children c6d859df4b27
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0060.py	Sun Nov 05 23:36:45 2017 +0100
+++ b/src/plugins/plugin_xep_0060.py	Wed Nov 08 07:47:01 2017 +0100
@@ -379,7 +379,7 @@
             log.warning(u"Could not subscribe to node {} on service {}: {}".format(node, unicode(service), unicode(failure.value)))
 
         def doSubscribe(items):
-            self.subscribe(service, node, profile_key=client.profile_key).addErrback(subscribeEb, service, node)
+            self.subscribe(service, node, profile_key=client.profile).addErrback(subscribeEb, service, node)
             return items
 
         if subscribe: