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