Always pass the special message '?OTR?' to libotr.
This commit is contained in:
parent
f1c333410e
commit
ea3e43c15a
|
@ -147,7 +147,8 @@ class MessageControl:
|
||||||
jid = self.contact.jid
|
jid = self.contact.jid
|
||||||
original_message = message
|
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):
|
if type == 'chat' and isinstance(message, unicode):
|
||||||
d = {'kwargs': {'keyID': keyID, 'type': type,
|
d = {'kwargs': {'keyID': keyID, 'type': type,
|
||||||
'chatstate': chatstate,
|
'chatstate': chatstate,
|
||||||
|
|
Loading…
Reference in New Issue