]> cat aescling's git repositories - mastodon.git/commit
Alternative handling of private self-boosts (#9998)
authorThibG <thib@sitedethib.com>
Wed, 13 Feb 2019 17:36:23 +0000 (18:36 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 13 Feb 2019 17:36:23 +0000 (18:36 +0100)
commit6a5307a5733e7872e7827f32b27111434e0307c4
tree2980ccee1259a7a36b40ce86c3711eed676a0614
parent169b9d4428d8e54d7bee365fd76be9a6e2a92da5
Alternative handling of private self-boosts (#9998)

* When self-boosting, embed original toot into Announce serialization

* Process unknown self-boosts from Announce object if it is more than an URI

* Add some self-boost specs

* Only serialize private toots in self-Announces
app/lib/activitypub/activity.rb
app/lib/activitypub/activity/announce.rb
app/lib/activitypub/activity/create.rb
app/serializers/activitypub/activity_serializer.rb
spec/lib/activitypub/activity/announce_spec.rb