Adding persmission.
This commit is contained in:
parent
af83ec1e55
commit
b23d601637
3 changed files with 3 additions and 2 deletions
|
@ -36,6 +36,7 @@ Additional documentation exists outside this repository.
|
|||
|
||||
- Development guide: [Webextention-API for Thunderbird](https://webextension-api.thunderbird.net/en/stable/)
|
||||
- [Messages API](https://webextension-api.thunderbird.net/en/stable/messages.html)
|
||||
- [Message Tags API](https://webextension-api.thunderbird.net/en/stable/messages.tags.html)
|
||||
- [Storage API](https://webextension-api.thunderbird.net/en/stable/storage.html)
|
||||
- Issue tracker: [Thunderbird tracker on Bugzilla](https://bugzilla.mozilla.org/describecomponents.cgi?product=Thunderbird)
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ if (typeof messenger !== "undefined" && messenger.messages?.onNewMailReceived) {
|
|||
}
|
||||
});
|
||||
} else {
|
||||
logger.aiLog("messenger.messages API unavailable, skipping new mail listener", {level: 'warn'});
|
||||
logger.aiLog("messenger.messages API unavailable, skipping new mail listener", { level: 'warn' });
|
||||
}
|
||||
|
||||
// Catch any unhandled rejections
|
||||
|
|
|
@ -23,5 +23,5 @@
|
|||
"page": "options/options.html",
|
||||
"open_in_tab": true
|
||||
},
|
||||
"permissions": [ "storage", "messagesRead" ]
|
||||
"permissions": [ "storage", "messagesRead", "accountsRead" ]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue