a fork of iceshrimp.net but a tweaked frontend to my personal liking. waow
fediverse social-media social iceshrimp fedi
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[backend/api] Report errors during acct user lookups to the client

This causes user lookups for blocked users to return a more specific error message than "No result found".

+2 -3
+2 -3
Iceshrimp.Backend/Controllers/Web/SearchController.cs
··· 88 88 89 89 if (target.StartsWith('@') || target.StartsWith(userPrefixAlt)) 90 90 { 91 - var hit = await userResolver.ResolveOrNullAsync(target, SearchFlags); 92 - if (hit != null) return new RedirectResponse { TargetUrl = $"/users/{hit.Id}" }; 93 - throw GracefulException.NotFound("No result found"); 91 + var hit = await userResolver.ResolveAsync(target, SearchFlags); 92 + return new RedirectResponse { TargetUrl = $"/users/{hit.Id}" }; 94 93 } 95 94 96 95 if (target.StartsWith("https://"))