소스 검색

OTR Bugfix. Check the data parameter for confirmation.

JC Brand 11 년 전
부모
커밋
e8af60e12b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -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(