fix: feed card follow ui

This commit is contained in:
Krispire Admin
2026-06-18 00:20:52 +05:30
parent be4b1636c0
commit 9235f68402
2 changed files with 15 additions and 2 deletions
+4
View File
@@ -71,6 +71,10 @@ type Post struct {
// author follows the caller. Both false for anonymous viewers / own posts.
ViewerFollowsAuthor bool `json:"viewer_follows_author"`
AuthorFollowsViewer bool `json:"author_follows_viewer"`
// ViewerFollowRequested: the caller has a pending (unaccepted) follow
// request to this post's author. Drives the "Requested" feed affordance.
ViewerFollowRequested bool `json:"viewer_follow_requested"`
}
// Comment is one comment (or reply) on a post. Threading is one level deep: