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

[frio] Imported Twitter posts don't show they are private, still won't load for other people than me #11152

Closed
MrPetovan opened this issue Jan 9, 2022 · 5 comments · Fixed by #11153

Comments

@MrPetovan
Copy link
Collaborator

I'm used to private posts having the little lock next to the author's display name, but it doesn't seem to appear (anymore?) for Twitter posts imported from my timeline.

So I checked if these posts had mistakenly become public, but it isn't the case, they aren't accessible by anyone but myself when I'm logged in.

Is this intended? I'm using the value of the template variable {{$item.lock}} to verify the scope of a post in the template and currently it is inaccurate on timeline-imported Twitter posts.

@annando
Copy link
Collaborator

annando commented Jan 9, 2022

Currently this behaviour is intended. Out of my head I think only posts from protected accounts are set to private.

@MrPetovan
Copy link
Collaborator Author

Ok, how can I know if a post is public from the template? Do I have to add another template variable? What is the item field I should base it on?

@annando
Copy link
Collaborator

annando commented Jan 9, 2022

You can have a look at the content of the global field. This is normally set with posts from federated networks but not set with posts from connectors.

@MrPetovan
Copy link
Collaborator Author

Thanks.

@annando
Copy link
Collaborator

annando commented Jan 9, 2022

BTW: The field is mostly used for the search mechanism. We have to avoid returning connector posts when the searching person hasn't connected to that network. It would be some ugly handling if you would see the post but couldn't interact - or even worse: You interact but nothing happens because you aren't connected to that network. So its easier to not return these posts at all.

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

Successfully merging a pull request may close this issue.

2 participants