From ea3e43c15a8a5029d3c3202cad8b71f937706ac9 Mon Sep 17 00:00:00 2001 From: js Date: Mon, 19 May 2008 20:25:58 +0000 Subject: [PATCH] Always pass the special message '?OTR?' to libotr. --- src/message_control.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/message_control.py b/src/message_control.py index 8419e3f5e..7c70a0787 100644 --- a/src/message_control.py +++ b/src/message_control.py @@ -147,7 +147,8 @@ class MessageControl: 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,