]> cat aescling's git repositories - mastodon.git/commit
Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662)
authorunarist <m.unarist@gmail.com>
Tue, 22 Aug 2017 16:30:15 +0000 (01:30 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 22 Aug 2017 16:30:15 +0000 (18:30 +0200)
commitd63de55ef84eea883b72a121d680b8841af8e2c0
treeb14c60fb4827f5cffa84cd9c54397e019023a717
parent72bb3e03fdf4d8c886d41f3459000b336a3a362b
Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662)

* Fallback to OStatus in FetchAtomService

* Skip activity+json link if that activity is Person without inbox
* If unsupported activity was detected and all other URLs failed, retry with ActivityPub-less Accept header

* Allow mention to OStatus account in ActivityPub

* Don't update profile with inbox-less Person object
app/lib/activitypub/activity/create.rb
app/services/activitypub/process_account_service.rb
app/services/fetch_atom_service.rb
spec/services/activitypub/fetch_remote_account_service_spec.rb