Skip to content

Fix response of unreblog/unfavourite APIs#4204

Merged
Gargron merged 1 commit intomastodon:masterfrom
unarist:fix-unreblog-unfavourite
Jul 14, 2017
Merged

Fix response of unreblog/unfavourite APIs#4204
Gargron merged 1 commit intomastodon:masterfrom
unarist:fix-unreblog-unfavourite

Conversation

@unarist
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Does this fix #3166?

@Gargron
Copy link
Copy Markdown
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
Copy Markdown
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.

3 participants