Author: js Date: 2008-05-19 22:25:58 +0200 (Mon, 19 May 2008) New Revision: 9685
Modified: trunk/src/message_control.py Log: Always pass the special message '?OTR?' to libotr.
Modified: trunk/src/message_control.py =================================================================== --- trunk/src/message_control.py 2008-05-19 20:13:24 UTC (rev 9684) +++ trunk/src/message_control.py 2008-05-19 20:25:58 UTC (rev 9685) @@ -147,7 +147,8 @@ jid = self.contact.jid original_message = message
- if gajim.otr_module and self.session.append_otr_tag: + if gajim.otr_module and (self.session.append_otr_tag or \ + message == '?OTR?'): if type == 'chat' and isinstance(message, unicode): d = {'kwargs': {'keyID': keyID, 'type': type, 'chatstate': chatstate,