diff sat/plugins/plugin_xep_0277.py @ 3341:13b91b7280bc

plugin XEP-0277: fixed item2mbdata call
author Goffi <goffi@goffi.org>
date Sat, 15 Aug 2020 20:29:07 +0200
parents d49607e3a066
children be6d91572633
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0277.py	Sat Aug 15 20:28:07 2020 +0200
+++ b/sat/plugins/plugin_xep_0277.py	Sat Aug 15 20:29:07 2020 +0200
@@ -191,7 +191,7 @@
         for item in itemsEvent.items:
             if item.name == C.PS_ITEM:
                 # FIXME: service and node should be used here
-                self.item2mbdata(client, item).addCallbacks(
+                self.item2mbdata(client, item, None, None).addCallbacks(
                     manageItem, lambda failure: None, (C.PS_PUBLISH,)
                 )
             elif item.name == C.PS_RETRACT: