Don't log the OTR initiation request (?OTR?).
This commit is contained in:
parent
2a51c443e5
commit
0378ed821d
1 changed files with 7 additions and 2 deletions
|
@ -369,11 +369,16 @@ class OtrlMessageAppOps:
|
|||
if msg_type == otr.OTRL_MSGTYPE_QUERY:
|
||||
# split away XHTML-contaminated explanatory message
|
||||
message = unicode(message.splitlines()[0])
|
||||
message += u"\nThis user has requested an Off-the-Record private " \
|
||||
message += _(u"\nThis user has requested an Off-the-Record private " \
|
||||
"conversation. However, you do not have a plugin to " \
|
||||
"support that.\nSee http://otr.cypherpunks.ca/ for more "\
|
||||
"information."
|
||||
"information.")
|
||||
|
||||
gajim.connections[opdata['account']].connection.send(
|
||||
common.xmpp.Message(to = recipient,
|
||||
body = message, typ = 'chat'))
|
||||
return
|
||||
|
||||
gajim.connections[opdata['account']].send_message(recipient, message,
|
||||
**opdata['kwargs'])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue