Don't treat remote accepts/rejects as local.
authorlain <lain@soykaf.club>
Sat, 26 May 2018 12:07:46 +0000 (14:07 +0200)
committerlain <lain@soykaf.club>
Sat, 26 May 2018 12:07:46 +0000 (14:07 +0200)
commit3839a11ef51a7602bd4c0b5c5d1318bb9cedd213
treedf7bdc8631d4b024b3c790f702968b99e45531db
parentdd9bb3789302f1f8e0e6cc61623b37251ff4ad4c
Don't treat remote accepts/rejects as local.

Also, use specialized functions to get safe data.
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/activity_pub/transmogrifier.ex
test/web/activity_pub/transmogrifier_test.exs