result=confirm(__('Here are the fingerprints, please confirm them with %1$s, outside of this chat.\n\nFingerprint for you, %2$s: %3$s\n\nFingerprint for %1$s: %4$s\n\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.',[
this.model.get('fullname'),
...
...
@@ -398,14 +393,14 @@
}
},
toggleOTRMenu:function(ev){
toggleOTRMenu(ev){
ev.stopPropagation();
this.$el.find('.toggle-otr ul').slideToggle(200);
},
getOTRTooltip:function(){
var_converse=this.__super__._converse,
__=_converse.__,
getOTRTooltip(){
const{_converse}=this.__super__,
{__}=_converse,
data=this.model.toJSON();
if(data.otr_status===UNENCRYPTED){
return__('Your messages are not encrypted. Click here to enable OTR encryption.');