User: Don't error out when following a user that's already followed.
authorlain <lain@soykaf.club>
Wed, 5 Jun 2019 10:06:45 +0000 (12:06 +0200)
committerlain <lain@soykaf.club>
Wed, 5 Jun 2019 10:06:45 +0000 (12:06 +0200)
commit8b9a0dd4a7e60f610e3aa1db92e62bc0fbe54521
tree7123f6083e911a43a0e68ed92db9d53b1789b814
parente4babb1c9ff4c28ff08888736cc330a48b19b396
User: Don't error out when following a user that's already followed.

This leads to a few situations where it is impossible to follow a user.
lib/pleroma/user.ex
test/web/activity_pub/transmogrifier/follow_handling_test.exs [new file with mode: 0644]
test/web/activity_pub/transmogrifier_test.exs
test/web/twitter_api/twitter_api_test.exs