feat: add comments count

This commit is contained in:
Krispire Admin
2026-06-13 02:24:21 +05:30
parent 6ebaa36158
commit 05567ad438
4 changed files with 40 additions and 10 deletions
+1 -1
View File
@@ -704,7 +704,7 @@ func (h *ProfileHandler) hydrateFeed(r *http.Request, posts []model.Post) error
if err := h.mentions.HydrateCounts(r.Context(), ptrs); err != nil {
return err
}
return h.comments.HydratePinned(r.Context(), viewerID, ptrs)
return h.comments.Hydrate(r.Context(), viewerID, ptrs)
}
// followListResp is the payload for the followers / following list endpoints: