diff --git a/Iceshrimp.Backend/Core/Services/UserService.cs b/Iceshrimp.Backend/Core/Services/UserService.cs index 5f666f11..a442c32e 100644 --- a/Iceshrimp.Backend/Core/Services/UserService.cs +++ b/Iceshrimp.Backend/Core/Services/UserService.cs @@ -1201,9 +1201,11 @@ public class UserService( var document = await new HtmlParser().ParseDocumentAsync(html); userProfileField.IsVerified = - document.Links.Any(a => a.GetAttribute("href") == profileUrl - && (a.GetAttribute("rel")?.Contains("me") - ?? false)); + document.Links.Any(a => (a.GetAttribute("rel")?.Contains("me") + ?? false) + && a.GetAttribute("href") == profileUrl + || user.Uri != null + && a.GetAttribute("href") == user.Uri); } bgDbContext.Update(bgUser.UserProfile);