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

Fix issue where posts API doesn't return the right amount of posts #2291

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

w-4
Copy link
Contributor

@w-4 w-4 commented Sep 8, 2020

Fixes #2071

Changes proposed in this pull request:
Check for permissions when getting the post Ids.

  • Tested locally

Copy link
Member

@askvortsov1 askvortsov1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!

Copy link
Member

@dsevillamartin dsevillamartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test locally and it works. Thank you so much! I think I'll want Franz or luceos to take a look before merging, but this LGTM.

@luceos
Copy link
Member

luceos commented Sep 13, 2020

We need to identify where we use this method and prevent the whereVisibleTo to be added after that.

@clarkwinkelmann
Copy link
Member

This sounds like a good fix.

We need to identify where we use this method

You mean getPostIds? That one is private and used only from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Guest users can't load more posts on profiles
7 participants