From a9c00d49da1dbad7bcdb737e591445266bf40cef Mon Sep 17 00:00:00 2001 From: Clemens Date: Thu, 16 May 2024 10:55:17 +0200 Subject: [PATCH] Set LowerName to name with lower case --- services/federation/federation_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/federation/federation_service.go b/services/federation/federation_service.go index 3c7ca1ef6f..94f1d78811 100644 --- a/services/federation/federation_service.go +++ b/services/federation/federation_service.go @@ -189,7 +189,7 @@ func CreateUserFromAP(ctx context.Context, personID fm.PersonID, federationHostI return nil, nil, err } newUser := user.User{ - LowerName: strings.ToLower(person.PreferredUsername.String()), + LowerName: strings.ToLower(name), Name: name, FullName: fullName, Email: email,