From f207dc163201c225c45b3b63befd257e67a0a8c9 Mon Sep 17 00:00:00 2001 From: Schimon Jehudah Date: Thu, 29 Feb 2024 20:29:41 +0000 Subject: [PATCH] Fix call to function adhoc_commands --- slixfeed/xmpp/client.py | 2 +- slixfeed/xmpp/component.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/slixfeed/xmpp/client.py b/slixfeed/xmpp/client.py index bb97618..1666b4b 100644 --- a/slixfeed/xmpp/client.py +++ b/slixfeed/xmpp/client.py @@ -220,7 +220,7 @@ class Slixfeed(slixmpp.ClientXMPP): # self.send_presence() profile.set_identity(self, 'client') # XmppCommand.adhoc_commands(self) - self.adhoc_commands(self) + self.adhoc_commands() self.service_reactions() await self['xep_0115'].update_caps() await self.get_roster() diff --git a/slixfeed/xmpp/component.py b/slixfeed/xmpp/component.py index bd6f51c..c7ed620 100644 --- a/slixfeed/xmpp/component.py +++ b/slixfeed/xmpp/component.py @@ -196,7 +196,7 @@ class SlixfeedComponent(slixmpp.ComponentXMPP): # self.send_presence() profile.set_identity(self, 'service') # XmppCommand.adhoc_commands(self) - self.adhoc_commands(self) + self.adhoc_commands() self.service_reactions() await self['xep_0115'].update_caps() # await XmppGroupchat.autojoin(self)