Fix own_host in ping plugin
This commit is contained in:
parent
d94dd486fe
commit
230a73fad2
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ class XEP_0199(BasePlugin):
|
|||
timeout -- Time in seconds to wait for a response.
|
||||
Defaults to self.timeout.
|
||||
"""
|
||||
own_host = False
|
||||
if not jid:
|
||||
if self.xmpp.is_component:
|
||||
jid = self.xmpp.server
|
||||
|
|
Loading…
Reference in a new issue