diff --git a/src/lib/strings/url-helpers.ts b/src/lib/strings/url-helpers.ts index 6088e28065..cd2ae29afe 100644 --- a/src/lib/strings/url-helpers.ts +++ b/src/lib/strings/url-helpers.ts @@ -194,12 +194,7 @@ export function convertBskyAppUrlIfNeeded(url: string): string { return startUriToStarterPackUri(urlp.pathname) } - // special-case search links - if (urlp.pathname === '/search') { - return `/search?q=${urlp.searchParams.get('q')}` - } - - return urlp.pathname + return urlp.pathname + urlp.search } catch (e) { console.error('Unexpected error in convertBskyAppUrlIfNeeded()', e) }