[backend/api] Fix remote user profiles not loading
This commit is contained in:
parent
6be761b2d3
commit
f02c5ac2f1
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class UserProfileRenderer(DatabaseContext db, IOptions<Config.InstanceSec
|
|||
? Role.Moderator
|
||||
: Role.None;
|
||||
|
||||
var url = user.GetPublicUrl(instance.Value.WebDomain);
|
||||
var url = user.Uri ?? user.GetPublicUrl(instance.Value.WebDomain);
|
||||
|
||||
return new UserProfileResponse
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue