From ff2f7be4547547a560b1e991e9b8e3b6c9900e5b Mon Sep 17 00:00:00 2001 From: Sal Rahman Date: Tue, 29 Aug 2023 09:38:23 -0700 Subject: [PATCH] QR code update --- packages/client/src/scripts/get-user-menu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/scripts/get-user-menu.ts b/packages/client/src/scripts/get-user-menu.ts index 6f9fa26e49..f42b02a1ac 100644 --- a/packages/client/src/scripts/get-user-menu.ts +++ b/packages/client/src/scripts/get-user-menu.ts @@ -284,7 +284,7 @@ export function getUserMenu(user, router: Router = mainRouter) { icon: "ph-qr-code ph-bold ph-lg", text: i18n.ts.getQrCode, action: () => { - os.displayQrCode(window.location.href) + os.displayQrCode(`https://${host}/authorize-follow?acct=${user.username}`) } }, meId !== user.id