Always pass the special message '?OTR?' to libotr.

This commit is contained in:
js 2008-05-19 20:25:58 +00:00
parent f1c333410e
commit ea3e43c15a
1 changed files with 2 additions and 1 deletions

View File

@ -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,