Commit e8af60e1 authored by JC Brand's avatar JC Brand

OTR Bugfix. Check the data parameter for confirmation.

parent c15bcf0a
......@@ -506,7 +506,7 @@
[this.get('fullname'), data])));
break;
case 'trust':
if (this.otr.trust === true) {
if (data === true) {
this.save({'otr_status': VERIFIED});
} else {
this.trigger(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment