Fix ping event issue.
This commit is contained in:
parent
ef9c8e910c
commit
7f42d15175
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class XEP_0199(BasePlugin):
|
|||
def disable_keepalive(self, event=None):
|
||||
self.xmpp.scheduler.remove('Ping keepalive')
|
||||
|
||||
def _keepalive(self, event):
|
||||
def _keepalive(self, event=None):
|
||||
log.debug("Keepalive ping...")
|
||||
try:
|
||||
rtt = self.ping(self.xmpp.boundjid.host, self.timeout)
|
||||
|
|
Loading…
Reference in a new issue