[backend/core] Set correct url for local mentions in user profile
This commit is contained in:
parent
525bd02022
commit
d9fabcb32c
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class UserProfileMentionsResolver(ActivityPub.UserResolver userResolver,
|
|||
{
|
||||
Host = p.Host,
|
||||
Uri = p.Uri ?? p.GetPublicUri(config.Value),
|
||||
Url = p.UserProfile?.Url,
|
||||
Url = p.IsRemoteUser ? p.UserProfile?.Url : p.GetPublicUrl(config.Value),
|
||||
Username = p.Username
|
||||
})
|
||||
.ToList();
|
||||
|
|
Loading…
Add table
Reference in a new issue