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 response of unreblog/unfavourite APIs #4204

Merged
merged 1 commit into from Jul 14, 2017

Conversation

unarist
Copy link
Contributor

@unarist unarist commented Jul 14, 2017

Regression from #4090

Both APIs process asynchronously, so reblogged/favourited fields in the response should be set to false manually.

Both APIs process asynchronously, so reblogged/favourited fields in the response should be set to `false` manually.
@unarist unarist added api REST API, Streaming API, Web Push API bug Something isn't working labels Jul 14, 2017
@sorin-davidoi
Copy link
Contributor

Does this fix #3166?

@Gargron
Copy link
Member

Gargron commented Jul 14, 2017

@sorin-davidoi No, we don't touch the counters there. It could be solved client-side, I think.

@unarist
Copy link
Contributor Author

unarist commented Jul 14, 2017

Actually, it is similar issue (i.e. those counts in the response is old value), but it exists from before dropping rabl.

@Gargron Gargron merged commit 1896a15 into mastodon:master Jul 14, 2017
@unarist unarist deleted the fix-unreblog-unfavourite branch July 15, 2017 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api REST API, Streaming API, Web Push API bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants