Skip to content
Snippets Groups Projects
Commit ea3e43c1 authored by js's avatar js
Browse files

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

parent f1c33341
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment