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

Pixelfed API conversations endpoint returns an empty array #21

Open
natjms opened this issue May 22, 2021 · 0 comments
Open

Pixelfed API conversations endpoint returns an empty array #21

natjms opened this issue May 22, 2021 · 0 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@natjms
Copy link
Owner

natjms commented May 22, 2021

If you navigate to the Direct tab, regardless of whether or not you have conversations, they will not be rendered. If you log the fetched Conversation array, it turns out to be []

One more obvious culprit might be that Pixelfed hasn't implemented it yet, though I haven't tested this on any other instances so I can't be sure. Pixelfed does allow for direct messaging on the web interface, however, in the docs, it says here that endpoints that "are not applicable" return empty arrays. DMs should be applicable now that they've been implemented but it's possible the exposed API isn't up-to-date. There isn't an issue on the Pixelfed repository regarding this so if that turns out to be the case, we'll have to open one.

It doesn't appear that PixelDroid implements direct messages and the feature hasn't been requested, so that could be a bit more evidence, though it'd be worth looking into some of the other clients to make sure.

Another possibility that passes less of the blame would be that somehow our query is malformed, which would require testing it on other Pixelfed and Mastodon instances.

@natjms natjms added bug Something isn't working investigation Needs further investigation labels May 22, 2021
@natjms natjms added wontfix This will not be worked on and removed investigation Needs further investigation labels Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant