1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix link matching crashes

This commit is contained in:
xmflsct
2023-02-06 14:00:40 +01:00
parent 9f6e7738bf
commit 1dd64c4e19
4 changed files with 14 additions and 17 deletions

View File

@ -25,7 +25,7 @@ const accountQueryFunction = async ({ queryKey }: QueryFunctionContext<QueryKeyA
const match = urlMatcher(key.url)
const domain = match?.domain
const id = key.id || match?.account?.id
const id = key.id
const acct = key.acct || key.username || match?.account?.acct
if (!key._local && domain) {