Author: asterix Date: 2009-02-14 19:56:17 +0100 (Sat, 14 Feb 2009) New Revision: 11107
Modified: trunk/src/common/connection_handlers.py Log: ignore wrong answer to XEP-202 (entity time) requests (Adium don't reply correctly). Fixes #4816
Modified: trunk/src/common/connection_handlers.py =================================================================== --- trunk/src/common/connection_handlers.py 2009-02-14 16:41:31 UTC (rev 11106) +++ trunk/src/common/connection_handlers.py 2009-02-14 18:56:17 UTC (rev 11107) @@ -1651,6 +1651,9 @@ log.debug('TimeRevisedResultCB') time_info = '' qp = iq_obj.getTag('time') + if not qp: + # wrong answer + return tzo = qp.getTag('tzo').getData() if tzo == 'Z': tzo = '0:0'