correctly calling isThunderbird128OrGreater
This commit is contained in:
parent
74f6bb0bad
commit
9907d35233
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ export function generateCallID(length = 10) {
|
||||||
|
|
||||||
export async function getTagsList(){
|
export async function getTagsList(){
|
||||||
let messageTags = {};
|
let messageTags = {};
|
||||||
if(isThunderbird128OrGreater()) {
|
if(await isThunderbird128OrGreater()) {
|
||||||
messageTags = await browser.messages.tags.list();
|
messageTags = await browser.messages.tags.list();
|
||||||
} else {
|
} else {
|
||||||
messageTags = await browser.messages.listTags();
|
messageTags = await browser.messages.listTags();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue