diff --git a/libervia/backend/plugins/plugin_xep_0060.py b/libervia/backend/plugins/plugin_xep_0060.py index 0176372f..a512baa5 100644 --- a/libervia/backend/plugins/plugin_xep_0060.py +++ b/libervia/backend/plugins/plugin_xep_0060.py @@ -324,8 +324,10 @@ class XEP_0060(object): client.pubsub_client = SatPubSubClient(self.host, self) return client.pubsub_client - async def profile_connected(self, client): + def profile_connecting(self, client): client.pubsub_watching = set() + + async def profile_connected(self, client): try: client.pubsub_service = jid.JID( self.host.memory.config_get("", "pubsub_service")