changeset 2423:e3edbccd26d7

XEP-0060: fixed bad attribute in getItems
author Goffi <goffi@goffi.org>
date Wed, 08 Nov 2017 07:47:01 +0100
parents 5425cf18929b
children 467ddb437a71
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	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: