Mercurial > libervia-web
comparison src/browser/sat_browser/otrjs_wrapper.py @ 523:5add182e7dd5
browser_side (plugin OTR): rename menus and replace 'buddy' with 'correspondent'
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 03 Sep 2014 11:04:29 +0200 |
parents | 0de69fec24e9 |
children | 1735aaeac652 |
comparison
equal
deleted
inserted
replaced
522:0de69fec24e9 | 523:5add182e7dd5 |
---|---|
153 return self.otr.smpSecret(secret, question) | 153 return self.otr.smpSecret(secret, question) |
154 | 154 |
155 def smpAuthAbort(self, act=None): | 155 def smpAuthAbort(self, act=None): |
156 # XXX: dirty hack to let the triggered method know who aborted the | 156 # XXX: dirty hack to let the triggered method know who aborted the |
157 # authentication. We need it to display the proper feedback and, | 157 # authentication. We need it to display the proper feedback and, |
158 # if the buddy aborted, set the conversation 'unverified'. | 158 # if the correspondent aborted, set the conversation 'unverified'. |
159 self.otr.sm.init() | 159 self.otr.sm.init() |
160 JS("""self.otr.sm.sendMsg(OTR.HLP.packTLV(6, ''))""") | 160 JS("""self.otr.sm.sendMsg(OTR.HLP.packTLV(6, ''))""") |
161 self.smpAuthCb('abort', '', act) | 161 self.smpAuthCb('abort', '', act) |
162 | 162 |
163 def sendMessageCb(self, msg, meta): | 163 def sendMessageCb(self, msg, meta): |