From 6aecf12067758431fd19ed509bb3e897e92c23c4 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 713023eada..ca43e40716 100644 --- a/packages/client/src/scripts/get-user-menu.ts +++ b/packages/client/src/scripts/get-user-menu.ts @@ -294,7 +294,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}`) } }, isSignedIn(me) && me.id !== user.id