QR code update

This commit is contained in:
Sal Rahman 2023-08-29 09:38:23 -07:00 committed by 老周部落
parent fefed2d4a4
commit 6aecf12067
No known key found for this signature in database
GPG key ID: C72181CD85C6B738

View file

@ -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