Skip to content

Commit

Permalink
composeHtml not allowed as property but received from thunderbird
Browse files Browse the repository at this point in the history
  • Loading branch information
oheil committed Feb 15, 2021
1 parent 9e30dec commit 01b2376
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion logout.js
Expand Up @@ -18,8 +18,11 @@ function logout_failure(result) {
}

function logout(result) {
console.log(result);
//console.log(result);
if( result != null && result.identities != null ) {
if( result.identities[0].hasOwnProperty('composeHtml') ) {
delete result.identities[0].composeHtml;
}
messenger.exp_logout.exp_logout(result.identities);
}
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Expand Up @@ -8,7 +8,7 @@
},
"name": "Logout",
"description": "This extension adds Logout to the folders context menu.",
"version": "2.1",
"version": "2.2",
"permissions": ["menus","accountsFolders","accountsRead"],
"background": {
"scripts": ["logout.js"]
Expand Down

0 comments on commit 01b2376

Please sign in to comment.