()
| 41 | } |
| 42 | |
| 43 | async onArmored() { |
| 44 | let sender = await this.getEmailSender(); |
| 45 | sender = sender.map(person => person.email); |
| 46 | sender = deDup(sender); |
| 47 | const armored = this.getPGPMessage(); |
| 48 | if (this.currentProvider.integration) { |
| 49 | const integrationMsgData = this.currentProvider.integration.getMsgByControllerId(this.id); |
| 50 | if (integrationMsgData) { |
| 51 | const {msgId, att: encAttFileNames} = integrationMsgData; |
| 52 | this.port.emit('set-data', {userInfo: this.currentProvider.integration.getUserInfo(), msgId, encAttFileNames, armored, sender, gmailCtrlId: this.currentProvider.integration.id}); |
| 53 | return; |
| 54 | } |
| 55 | } |
| 56 | this.port.emit('set-armored', { |
| 57 | data: armored, |
| 58 | options: {senderAddress: sender} |
| 59 | }); |
| 60 | } |
| 61 | |
| 62 | clickHandler(ev) { |
| 63 | super.clickHandler(undefined, ev); |
nothing calls this directly
no test coverage detected