mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
Ensure ActivityPub claim displays are of for @user@domain.tld
Fixes #30
This commit is contained in:
parent
bfe5a6f486
commit
f7c90edd7d
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue