Skip to content

Commit

Permalink
Additional matching URLs for the notifications page (#299)
Browse files Browse the repository at this point in the history
Co-authored-by: Laxman <notlmn@outlook.com>
  • Loading branch information
scarf005 and notlmn committed Sep 15, 2024
1 parent 8b726b7 commit 7aade10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lib/tabs-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function openTab(url) {
if (reuseTabs && permissionGranted) {
const matchingUrls = [url];
if (url.endsWith('/notifications')) {
matchingUrls.push(url + '?query=is%3Aunread');
matchingUrls.push(url + '?query=', url + '?query=is%3Aunread');
}

const existingTabs = await queryTabs(matchingUrls);
Expand Down

0 comments on commit 7aade10

Please sign in to comment.