Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote posts are hidden in local community #1302

Closed
Nutomic opened this issue Dec 2, 2020 · 1 comment
Closed

Remote posts are hidden in local community #1302

Nutomic opened this issue Dec 2, 2020 · 1 comment
Labels
area: federation support federation via activitypub bug Something isn't working

Comments

@Nutomic
Copy link
Member

Nutomic commented Dec 2, 2020

Noticed this while testing something else. The problem looks pretty simple, when viewing a local community (like this one), it only displays local posts. If you go to the front page, you can see many posts in the same community that simply werent shown before. Take this post as example.

Post is shown on the frontpage as expected:

Screenshot_20201202_171624

Post is nowhere to be found when viewing main directly: (both screenshots are taken directly on voyager)

Screenshot_20201202_171641

@Nutomic Nutomic added bug Something isn't working area: federation support federation via activitypub labels Dec 2, 2020
@dessalines
Copy link
Member

dessalines commented Dec 2, 2020

Methinks this is a dupe of #1283 , why is local getting overwritten to false again:

lemmy=# select local, community_local, community_actor_id from post_view where id = 125 and user_id is null;
 local | community_local |       community_actor_id
-------+-----------------+---------------------------------
 f     | t               | https://voyager.lemmy.ml/c/main

Also this filter should be community_local, and not local: https://github.com/LemmyNet/lemmy/blob/main/lemmy_db/src/post_view.rs#L283 , I'll change that now.

dessalines added a commit that referenced this issue Dec 2, 2020
Nutomic added a commit that referenced this issue Dec 3, 2020
@Nutomic Nutomic closed this as completed Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: federation support federation via activitypub bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants