diff --git a/Iceshrimp.Backend/Controllers/Web/NoteController.cs b/Iceshrimp.Backend/Controllers/Web/NoteController.cs index bc5e664a..26cc0a89 100644 --- a/Iceshrimp.Backend/Controllers/Web/NoteController.cs +++ b/Iceshrimp.Backend/Controllers/Web/NoteController.cs @@ -158,8 +158,10 @@ public class NoteController( .FirstOrDefaultAsync() ?? throw GracefulException.NotFound("Note not found"); + name = name.Trim(':'); + var users = await db.NoteReactions - .Where(p => p.Note == note && p.Reaction == name) + .Where(p => p.Note == note && (p.Reaction == $":{name}:" || p.Reaction == name)) .Include(p => p.User.UserProfile) .Select(p => p.User) .ToListAsync();