Add missing argument to should_heartbeat call
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
a8ce75551a
commit
59543ac585
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ class XEP_0384(BasePlugin):
|
|||
finally:
|
||||
asyncio.ensure_future(self._publish_bundle())
|
||||
|
||||
if self.auto_heartbeat and self.should_heartbeat():
|
||||
if self.auto_heartbeat and self.should_heartbeat(jid):
|
||||
async def send_heartbeat():
|
||||
msg = await self.make_heartbeat(JID(jid))
|
||||
msg.send()
|
||||
|
|
Loading…
Reference in a new issue