Skip to content

Commit a41293b

Browse files
committed
fix: have the reply-to name be normal if the user doesn't have a nick.
1 parent dd2e2e4 commit a41293b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PinkSea.Gateway/Services/ActivityPubRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class ActivityPubRenderer(
4848
return new Actor
4949
{
5050
Id = $"{options.Value.FrontEndEndpoint}/ap/actor.json?did={did}",
51-
Name = profileResponse.Nickname,
51+
Name = profileResponse.Nickname ?? $"@{profileResponse.Handle}",
5252
PreferredUsername = profileResponse.Handle,
5353
Icon = new Image
5454
{

0 commit comments

Comments
 (0)