diff sat/plugins/plugin_xep_0060.py @ 2776:838f53730ce4

plugin pubsub admin: pubsub administrator first draft: This experimental protocol allows to publish items where publishers can be specified.
author Goffi <goffi@goffi.org>
date Tue, 15 Jan 2019 08:51:54 +0100
parents 003b8b4b56a7
children 3b68293a60d4
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0060.py	Sat Jan 12 16:50:58 2019 +0100
+++ b/sat/plugins/plugin_xep_0060.py	Tue Jan 15 08:51:54 2019 +0100
@@ -429,15 +429,8 @@
     #     d.addCallback(lambda subs: [sub.getAttribute('node') for sub in subs if sub.getAttribute('subscription') == filter_])
     #     return d
 
-    def _sendItem(
-        self,
-        service,
-        nodeIdentifier,
-        payload,
-        item_id=None,
-        extra=None,
-        profile_key=C.PROF_KEY_NONE,
-    ):
+    def _sendItem(self, service, nodeIdentifier, payload, item_id=None, extra=None,
+                  profile_key=C.PROF_KEY_NONE):
         client = self.host.getClient(profile_key)
         service = None if not service else jid.JID(service)
         d = self.sendItem(