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] Add like and renote count to NoteBase schema

+5 -1
+3 -1
Iceshrimp.Backend/Controllers/Renderers/NoteRenderer.cs
··· 72 72 Visibility = RenderVisibility(note.Visibility), 73 73 User = noteUser, 74 74 Attachments = attachments.ToList(), 75 - Reactions = reactions.ToList() 75 + Reactions = reactions.ToList(), 76 + Likes = note.LikeCount, 77 + Renotes = note.RenoteCount 76 78 }; 77 79 } 78 80
+2
Iceshrimp.Shared/Schemas/NoteResponse.cs
··· 35 35 [J("text")] public required string? Text { get; set; } 36 36 [J("cw")] public required string? Cw { get; set; } 37 37 [J("visibility")] public required string Visibility { get; set; } 38 + [J("likes")] public required int Likes { get; set; } 39 + [J("renotes")] public required int Renotes { get; set; } 38 40 [J("user")] public required UserResponse User { get; set; } 39 41 [J("attachments")] public required List<NoteAttachment> Attachments { get; set; } 40 42 [J("reactions")] public required List<NoteReactionSchema> Reactions { get; set; }