diff --git a/api/bsky/actordefs.go b/api/bsky/actordefs.go index 0d9be348..51b9881b 100644 --- a/api/bsky/actordefs.go +++ b/api/bsky/actordefs.go @@ -505,8 +505,6 @@ func (t *ActorDefs_StatusView_Embed) UnmarshalJSON(b []byte) error { // ActorDefs_ThreadViewPref is a "threadViewPref" in the app.bsky.actor.defs schema. type ActorDefs_ThreadViewPref struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.actor.defs#threadViewPref"` - // prioritizeFollowedUsers: Show followed users at the top of all replies. - PrioritizeFollowedUsers *bool `json:"prioritizeFollowedUsers,omitempty" cborgen:"prioritizeFollowedUsers,omitempty"` // sort: Sorting mode for threads. Sort *string `json:"sort,omitempty" cborgen:"sort,omitempty"` } diff --git a/api/bsky/unspeccedgetPostThreadOtherV2.go b/api/bsky/unspeccedgetPostThreadOtherV2.go index 5a61a4ef..e424a814 100644 --- a/api/bsky/unspeccedgetPostThreadOtherV2.go +++ b/api/bsky/unspeccedgetPostThreadOtherV2.go @@ -56,15 +56,11 @@ func (t *UnspeccedGetPostThreadOtherV2_ThreadItem_Value) UnmarshalJSON(b []byte) // UnspeccedGetPostThreadOtherV2 calls the XRPC method "app.bsky.unspecced.getPostThreadOtherV2". // // anchor: Reference (AT-URI) to post record. This is the anchor post. -// prioritizeFollowedUsers: Whether to prioritize posts from followed users. It only has effect when the user is authenticated. -func UnspeccedGetPostThreadOtherV2(ctx context.Context, c lexutil.LexClient, anchor string, prioritizeFollowedUsers bool) (*UnspeccedGetPostThreadOtherV2_Output, error) { +func UnspeccedGetPostThreadOtherV2(ctx context.Context, c lexutil.LexClient, anchor string) (*UnspeccedGetPostThreadOtherV2_Output, error) { var out UnspeccedGetPostThreadOtherV2_Output params := map[string]interface{}{} params["anchor"] = anchor - if prioritizeFollowedUsers { - params["prioritizeFollowedUsers"] = prioritizeFollowedUsers - } if err := c.LexDo(ctx, lexutil.Query, "", "app.bsky.unspecced.getPostThreadOtherV2", params, nil, &out); err != nil { return nil, err } diff --git a/api/bsky/unspeccedgetPostThreadV2.go b/api/bsky/unspeccedgetPostThreadV2.go index f3cd6240..344a0fbf 100644 --- a/api/bsky/unspeccedgetPostThreadV2.go +++ b/api/bsky/unspeccedgetPostThreadV2.go @@ -86,9 +86,8 @@ func (t *UnspeccedGetPostThreadV2_ThreadItem_Value) UnmarshalJSON(b []byte) erro // anchor: Reference (AT-URI) to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post. // below: How many levels of replies to include below the anchor. // branchingFactor: Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated). -// prioritizeFollowedUsers: Whether to prioritize posts from followed users. It only has effect when the user is authenticated. // sort: Sorting for the thread replies. -func UnspeccedGetPostThreadV2(ctx context.Context, c lexutil.LexClient, above bool, anchor string, below int64, branchingFactor int64, prioritizeFollowedUsers bool, sort string) (*UnspeccedGetPostThreadV2_Output, error) { +func UnspeccedGetPostThreadV2(ctx context.Context, c lexutil.LexClient, above bool, anchor string, below int64, branchingFactor int64, sort string) (*UnspeccedGetPostThreadV2_Output, error) { var out UnspeccedGetPostThreadV2_Output params := map[string]interface{}{} @@ -102,9 +101,6 @@ func UnspeccedGetPostThreadV2(ctx context.Context, c lexutil.LexClient, above bo if branchingFactor != 0 { params["branchingFactor"] = branchingFactor } - if prioritizeFollowedUsers { - params["prioritizeFollowedUsers"] = prioritizeFollowedUsers - } if sort != "" { params["sort"] = sort }