diff sat/plugins/plugin_exp_invitation_pubsub.py @ 3584:edc79cefe968

plugin XEP-0060: `getItem(s)`, `publish` and `(un)subscribe` are now coroutines
author Goffi <goffi@goffi.org>
date Wed, 30 Jun 2021 16:19:14 +0200
parents 12dc234f698c
children 26c3e1bc7fb7
line wrap: on
line diff
--- a/sat/plugins/plugin_exp_invitation_pubsub.py	Sun Jun 27 00:15:40 2021 +0200
+++ b/sat/plugins/plugin_exp_invitation_pubsub.py	Wed Jun 30 16:19:14 2021 +0200
@@ -164,6 +164,6 @@
         if not name:
             name = extra.pop("name", "")
 
-        return self.host.plugins['LIST_INTEREST'].registerPubsub(
+        return await self.host.plugins['LIST_INTEREST'].registerPubsub(
             client, namespace, service, node, item_id, creator,
             name, element, extra)