Fix the ping plugin
This commit is contained in:
parent
97486ac095
commit
b37b7ec8e6
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Plugin(BasePlugin):
|
|||
return
|
||||
jid = JID(arg)
|
||||
try:
|
||||
delay = self.core.xmpp.plugin['xep_0199'].send_ping(jid=jid, block=False)
|
||||
delay = self.core.xmpp.plugin['xep_0199'].send_ping(jid=jid)
|
||||
except:
|
||||
delay = None
|
||||
if delay is not None:
|
||||
|
|
Loading…
Reference in a new issue