Change messageTags from object to array in getTagsList function
This commit is contained in:
parent
59d44e3077
commit
7ca21b08bf
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ export function generateCallID(length = 10) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getTagsList(){
|
export async function getTagsList(){
|
||||||
let messageTags = {};
|
let messageTags = [];
|
||||||
if(await isThunderbird128OrGreater()) {
|
if(await isThunderbird128OrGreater()) {
|
||||||
// without the tags related permissions, we can't get the tags list
|
// without the tags related permissions, we can't get the tags list
|
||||||
if(await browser.permissions.contains({permissions: ['messagesTagsList']})){
|
if(await browser.permissions.contains({permissions: ['messagesTagsList']})){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue