print warning when we receive a presence from an invalid JID
This commit is contained in:
parent
7216c7b058
commit
241325488e
1 changed files with 1 additions and 0 deletions
|
@ -710,6 +710,7 @@ PresenceHelperEvent):
|
|||
try:
|
||||
self.get_jid_resource()
|
||||
except Exception:
|
||||
log.warn('Invalid JID: %s, ignoring it' % self.stanza.getFrom())
|
||||
return
|
||||
jid_list = gajim.contacts.get_jid_list(self.conn.name)
|
||||
self.timestamp = None
|
||||
|
|
Loading…
Add table
Reference in a new issue