Skip to content

Commit

Permalink
toolbar button searching for space improved, no need for management p…
Browse files Browse the repository at this point in the history
…ermission.
  • Loading branch information
micz committed Feb 18, 2025
1 parent 2889d76 commit 320ec6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ browser.browserAction.onClicked.addListener(() => {
});

async function openTStab() {
let thspace = await messenger.spaces.query({'name': 'thunderstats', 'extensionId': 'thunderstats@micz.it'});
let thspace = await messenger.spaces.query({'name': 'thunderstats', isSelfOwned: true});
messenger.spaces.open(thspace[0].id);
}

Expand Down
3 changes: 1 addition & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"accountsRead",
"storage",
"tabs",
"messagesTagsList",
"management"
"messagesTagsList"
],
"background": {
"page": "background.html"
Expand Down

0 comments on commit 320ec6f

Please sign in to comment.