Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop

This commit is contained in:
syuilo 2023-04-07 18:12:27 +09:00
commit 930724f9de
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ export async function findClient() {
type: 'window',
});
for (const c of clients) {
if (c.url.indexOf('?zen') < 0) return c;
if (!new URL(c.url).searchParams.has('zen')) return c;
}
return null;
}