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
|
return
|
||||||
jid = JID(arg)
|
jid = JID(arg)
|
||||||
try:
|
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:
|
except:
|
||||||
delay = None
|
delay = None
|
||||||
if delay is not None:
|
if delay is not None:
|
||||||
|
|
Loading…
Reference in a new issue