Mastodon API: Fix thread mute detection
authorrinpatch <rinpatch@sdf.org>
Sat, 10 Aug 2019 13:27:46 +0000 (16:27 +0300)
committerrinpatch <rinpatch@sdf.org>
Sat, 10 Aug 2019 13:27:46 +0000 (16:27 +0300)
commit0802a08871afee7f09362cbca8b802f0e27ff4b9
tree75d2bc4a55e1469d60bb770288652c962eaa4449
parent337edb3e500dc8d3d74926eb9da739bec8e8a7ac
Mastodon API: Fix thread mute detection

It was calling CommonAPI.thread_muted? with post author's account
instead of viewer's one.
CHANGELOG.md
lib/pleroma/web/mastodon_api/views/status_view.ex
test/web/mastodon_api/mastodon_api_controller_test.exs