Fix inclusion of spurious views from other projects in FollowResponse
This commit is contained in:
@@ -2878,8 +2878,7 @@ impl Workspace {
|
|||||||
let cx = &cx;
|
let cx = &cx;
|
||||||
move |item| {
|
move |item| {
|
||||||
let item = item.to_followable_item_handle(cx)?;
|
let item = item.to_followable_item_handle(cx)?;
|
||||||
if project_id.is_some()
|
if (project_id.is_none() || project_id != follower_project_id)
|
||||||
&& project_id != follower_project_id
|
|
||||||
&& item.is_project_item(cx)
|
&& item.is_project_item(cx)
|
||||||
{
|
{
|
||||||
return None;
|
return None;
|
||||||
|
|||||||
Reference in New Issue
Block a user