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

boost/reblog nulls out the favourited property (and vica versa) in returned status #5059

Open
technicat opened this issue Apr 29, 2024 · 0 comments
Labels
🔃 API For accessing Pixelfed data 🐛 Bug Something isn't working Status: Reported Issue may need more information or needs reproducing

Comments

@technicat
Copy link

Starting with a status not favourited or reblogged

"id" : "690329321475336860",
"reblogs_count" : 1,
"favourited" : false,
"reblogged" : false,

Favouriting it returns the expected result

"id" : "690329321475336860",
  "reblogs_count" : 1,
  "favourited" : true,
  "reblogged" : false,

But then reblogging it returns a status with reblogged set but favourited nulled out

"id" : "690329321475336860",
  "reblogs_count" : 1,
  "favourited" : null,
  "reblogged" : true,

I believe this happens in the other order, too - favouriting after reblogging returns a nulled out reblog field.

Retrieving the status again via statuses shows the correct values for both properties (which is my current workaround, refresh the post after each favourite and reblog).

  "id" : "690329321475336860",
  "reblogs_count" : 1,
  "favourited" : true,
  "reblogged" : true,
@trwnh trwnh added 🐛 Bug Something isn't working 🔃 API For accessing Pixelfed data Status: Reported Issue may need more information or needs reproducing labels Jun 3, 2024
@trwnh trwnh added this to the 0.14.0 - Polish milestone Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔃 API For accessing Pixelfed data 🐛 Bug Something isn't working Status: Reported Issue may need more information or needs reproducing
Projects
None yet
Development

No branches or pull requests

2 participants