changeset 2d7388ff5fdd in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=2d7388ff5fdd description: print warning when we receive a presence from an invalid JID
diffstat:
src/common/connection_handlers_events.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 5cde74e2a1e6 -r 2d7388ff5fdd src/common/connection_handlers_events.py --- a/src/common/connection_handlers_events.py Wed Sep 28 17:43:59 2011 +0200 +++ b/src/common/connection_handlers_events.py Fri Sep 30 10:10:36 2011 +0200 @@ -710,6 +710,7 @@ 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