Changeset 9778
- Timestamp:
- 06/09/08 17:04:13 (5 months ago)
- Files:
-
- 1 modified
-
trunk/src/common/connection_handlers.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/connection_handlers.py
r9772 r9778 1694 1694 # Receipt requested 1695 1695 # TODO: We shouldn't answer if we're invisible! 1696 cont = gajim.contacts.get_contact(self.name, 1697 common.gajim.get_room_and_nick_from_fjid(frm)[0]) 1696 1698 if msg.getTag('request', namespace='urn:xmpp:receipts') and \ 1697 1699 gajim.config.get_per('accounts', self.name, 'answer_receipt') \ 1698 and gajim.contacts.get_contact_from_full_jid(self.name, frm). \ 1699 sub not in (u'to', u'none'): 1700 and cont and cont.sub not in (u'to', u'none'): 1700 1701 receipt = common.xmpp.Message(to = jid, typ = 'chat') 1701 1702 receipt.setID(msg.getID())
