From 9011bb7349e74439874a49d9364565e822331b64 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Mon, 4 Jan 2021 13:49:07 -0500 Subject: [PATCH] fix name --- src/BirdsiteLive.Domain/UserService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BirdsiteLive.Domain/UserService.cs b/src/BirdsiteLive.Domain/UserService.cs index 221ff4f..42feb39 100644 --- a/src/BirdsiteLive.Domain/UserService.cs +++ b/src/BirdsiteLive.Domain/UserService.cs @@ -137,7 +137,7 @@ namespace BirdsiteLive.Domain if (!sigValidation.SignatureIsValidated) return false; // Save Follow in DB - var followerUserName = sigValidation.User.name.ToLowerInvariant(); + var followerUserName = sigValidation.User.preferredUsername.ToLowerInvariant(); var followerHost = sigValidation.User.url.Replace("https://", string.Empty).Split('/').First(); //var followerInbox = sigValidation.User.inbox; var twitterUser = activity.apObject.apObject.Split('/').Last().Replace("@", string.Empty);