print warning when we receive a presence from an invalid JID
This commit is contained in:
parent
7216c7b058
commit
241325488e
|
@ -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…
Reference in New Issue