From f7c90edd7d7b312818372556633522df1f5062d3 Mon Sep 17 00:00:00 2001 From: Preston Maness Date: Tue, 13 Jun 2023 21:19:39 -0500 Subject: [PATCH] Ensure ActivityPub claim displays are of for @user@domain.tld Fixes #30 --- src/claimDefinitions/activitypub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/claimDefinitions/activitypub.js b/src/claimDefinitions/activitypub.js index 9a1f599..202569e 100644 --- a/src/claimDefinitions/activitypub.js +++ b/src/claimDefinitions/activitypub.js @@ -68,7 +68,7 @@ const processURI = (uri) => { const functions = { postprocess: (claimData, proofData) => { - claimData.profile.display = `${proofData.result.preferredUsername}@${new URL(proofData.result.url).hostname}` + claimData.profile.display = `@${proofData.result.preferredUsername}@${new URL(proofData.result.url).hostname}` return { claimData, proofData } } }