mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 09:36:43 -06:00
feat: allow search .bsky.social account
This commit is contained in:
parent
f124666e58
commit
733b741b00
1 changed files with 6 additions and 1 deletions
|
@ -91,7 +91,12 @@ async function search() {
|
|||
text: i18n.ts.lookupConfirm,
|
||||
});
|
||||
if (!confirm.canceled) {
|
||||
router.push(`/${query}`);
|
||||
if (query.endsWith('.bsky.social')) {
|
||||
// convert to bsky bridge
|
||||
router.push(`/${query}@bsky.brid.gy`);
|
||||
} else {
|
||||
router.push(`/${query}`);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue