* Set logo for keyring. The image is persisted in Mailvelope with a revision number, * therefore the method is only required after new keyring generation or if logo and revision number changes. * @param {String} dataURL - data-URL representing the logo, max. file size: ~10KB, max. image size:
(dataURL, revision)
| 360 | * |
| 361 | */ |
| 362 | setLogo(dataURL, revision) { |
| 363 | return send('set-logo', {identifier: this.identifier, dataURL, revision}).then(() => { |
| 364 | this.logoRev = revision; |
| 365 | }); |
| 366 | } |
| 367 | |
| 368 | /** |
| 369 | * @typedef {Object} UserId |