* Disable OTRv1 by default.
* Don't send our JID on OTR request! It might reveal our JID in MUC!
This commit is contained in:
parent
4958b28e1d
commit
fc762157c0
|
@ -319,7 +319,7 @@ class Config:
|
|||
'zeroconf_jabber_id': [ opt_str, '', '', True ],
|
||||
'zeroconf_email': [ opt_str, '', '', True ],
|
||||
'use_env_http_proxy' : [opt_bool, False],
|
||||
'otr_flags': [opt_int, 59 ],
|
||||
'otr_flags': [opt_int, 58 ],
|
||||
}, {}),
|
||||
'statusmsg': ({
|
||||
'message': [ opt_str, '' ],
|
||||
|
|
|
@ -369,10 +369,10 @@ class OtrlMessageAppOps:
|
|||
if msg_type == otr.OTRL_MSGTYPE_QUERY:
|
||||
# split away XHTML-contaminated explanatory message
|
||||
message = unicode(message.splitlines()[0])
|
||||
message += u"\n%s 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."%gajim.get_jid_from_account(opdata['account'])
|
||||
"information.")
|
||||
|
||||
gajim.connections[opdata['account']].send_message(recipient, message,
|
||||
**opdata['kwargs'])
|
||||
|
|
Loading…
Reference in New Issue