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,10 +369,15 @@ class OtrlMessageAppOps:
|
||||||
if msg_type == otr.OTRL_MSGTYPE_QUERY:
|
if msg_type == otr.OTRL_MSGTYPE_QUERY:
|
||||||
# split away XHTML-contaminated explanatory message
|
# split away XHTML-contaminated explanatory message
|
||||||
message = unicode(message.splitlines()[0])
|
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 " \
|
"conversation. However, you do not have a plugin to " \
|
||||||
"support that.\nSee http://otr.cypherpunks.ca/ for more "\
|
"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,
|
gajim.connections[opdata['account']].send_message(recipient, message,
|
||||||
**opdata['kwargs'])
|
**opdata['kwargs'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue