]> cat aescling's git repositories - mastodon.git/commit
Add API method to remove a suggestion (#7978)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 7 Jul 2018 19:09:54 +0000 (21:09 +0200)
committerGitHub <noreply@github.com>
Sat, 7 Jul 2018 19:09:54 +0000 (21:09 +0200)
commit6b9e03e002ed349fd8b7e2879d599bb75a698eb2
tree95274f35902ac1e997e7bb43ca36e78be89496e2
parentef2bcf51d70b035407dffed8c40efee999f18115
Add API method to remove a suggestion (#7978)

DELETE /api/v1/suggestions/:account_id

When blocking, remove suggestion from both sides. Muting not affected,
since muting is supposed to be invisible to the target.
app/controllers/api/v1/suggestions_controller.rb
app/models/concerns/account_interactions.rb
config/routes.rb