From fad6a7594ad97fedd57501fb44471db24de83c2e Mon Sep 17 00:00:00 2001 From: Vincent Cloutier Date: Wed, 11 May 2022 18:26:38 -0400 Subject: [PATCH] fix --- src/BirdsiteLive.Domain/StatusService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BirdsiteLive.Domain/StatusService.cs b/src/BirdsiteLive.Domain/StatusService.cs index 183d285..5d5c973 100644 --- a/src/BirdsiteLive.Domain/StatusService.cs +++ b/src/BirdsiteLive.Domain/StatusService.cs @@ -44,8 +44,8 @@ namespace BirdsiteLive.Domain var noteUrl = UrlFactory.GetNoteUrl(_instanceSettings.Domain, username, tweet.Id.ToString()); if (tweet.IsRetweet) { - actorUrl = UrlFactory.GetActorUrl(_instanceSettings.Domain, tweet.OriginalAuthor.Name); - noteUrl = UrlFactory.GetNoteUrl(_instanceSettings.Domain, tweet.OriginalAuthor.Name, tweet.Id.ToString()); + actorUrl = UrlFactory.GetActorUrl(_instanceSettings.Domain, tweet.OriginalAuthor.Acct); + noteUrl = UrlFactory.GetNoteUrl(_instanceSettings.Domain, tweet.OriginalAuthor.Acct, tweet.Id.ToString()); } var to = $"{actorUrl}/followers";