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

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,
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

No branches or pull requests

1 participant