[bug] WebFinger domain not being reflected in account's fqn field #931
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs change/feedback
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#931
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
OTP
Extra details
No response
Version
2025.03-02
PostgreSQL version
15
What were you trying to do?
Mangine frontend gets the full nickname (including the domain) from the "fqn" field of the account API viewpoint.
This works fine except when I set a custom WebFinger domain (domain.org) the frontend still will show the host (fedi.domain.org) because this is what the "fqn" field returns.
... "fqn":"z411@fedi.domain.org"}
Is this intended? The WebFinger domain appears in the OpenGraph tag of the profile in Pleroma-FE just fine.
What did you expect to happen?
I expected the fqn field to reflect the WebFinger domain, like the OpenGraph tag does (Utils.user_name_string() does this), as the Mangine frontend uses this field to display the nickname.
What actually happened?
It still shows the full host as the domain, probably because it's using User.full_nickname() which always return the nick with the host even if a WebFinger domain is set. A few other locations also use this function. Is this intended?
Logs
No response
Severity
I can manage
Have you searched for this issue?
Yes, this feld is an *oma extension and using the full API domain is intentional.
To get the nickname with the WebFinger domain you should use the standard
acct
fieldThanks for clarifying. I looked at that field before posting this but it only has the nickname, not the domain:
"acct":"z411"
This is a local account, and I can't see the WebFinger domain anywhere in the response. Is this misconfiguration on my part? Either way I think I'll go to the forums instead.