CommonAPI: Refactor visibility, forbid public to private replies.
authorlain <lain@soykaf.club>
Wed, 15 May 2019 14:30:08 +0000 (16:30 +0200)
committerlain <lain@soykaf.club>
Wed, 15 May 2019 14:30:08 +0000 (16:30 +0200)
commitcbb3451023f557ece773bab20f79ac130f786d01
tree1de6243216b216e6fbd32a1f0365d5e98dc4b497
parent153c15cdb27a0498d00924b34764aeeab8dcbfc6
CommonAPI: Refactor visibility, forbid public to private replies.
lib/pleroma/web/activity_pub/visibility.ex
lib/pleroma/web/common_api/common_api.ex
lib/pleroma/web/mastodon_api/views/status_view.ex
lib/pleroma/web/twitter_api/views/activity_view.ex
test/web/activity_pub/visibilty_test.exs
test/web/common_api/common_api_test.exs