Fix var reference
This commit is contained in:
parent
7815ce19a5
commit
f8ddefb6da
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ class CommonConnection:
|
||||||
self.check_jid(obj.jid)
|
self.check_jid(obj.jid)
|
||||||
except helpers.InvalidFormat:
|
except helpers.InvalidFormat:
|
||||||
app.nec.push_incoming_event(InformationEvent(
|
app.nec.push_incoming_event(InformationEvent(
|
||||||
None, dialog_name='invalid-jid', args=jid))
|
None, dialog_name='invalid-jid', args=obj.jid))
|
||||||
return
|
return
|
||||||
|
|
||||||
if obj.message and not obj.xhtml and app.config.get(
|
if obj.message and not obj.xhtml and app.config.get(
|
||||||
|
|
Loading…
Add table
Reference in a new issue