diff options
author | Jenkins <jenkins@jenkins.ninjawedding.org> | 2018-01-05 22:17:12 +0000 |
---|---|---|
committer | Jenkins <jenkins@jenkins.ninjawedding.org> | 2018-01-05 22:17:12 +0000 |
commit | f6adb409fd8f4bf42c1da54cc1e7e42886612c14 (patch) | |
tree | 01ab66d37a57fbe59546f6376e16c8398b5198d8 /app/services | |
parent | f41b33eb0177b23bd72fede7df94af43da0c7c6b (diff) | |
parent | 10f6793fd0af3690a37c868b7bb4418418dc3a7a (diff) |
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/fetch_atom_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/fetch_atom_service.rb b/app/services/fetch_atom_service.rb index c01e8d071..c07859845 100644 --- a/app/services/fetch_atom_service.rb +++ b/app/services/fetch_atom_service.rb @@ -46,6 +46,8 @@ class FetchAtomService < BaseService json = body_to_json(@response.to_s) if supported_context?(json) && json['type'] == 'Person' && json['inbox'].present? [json['id'], { prefetched_body: @response.to_s, id: true }, :activitypub] + elsif supported_context?(json) && json['type'] == 'Note' + [json['id'], { prefetched_body: @response.to_s, id: true }, :activitypub] else @unsupported_activity = true nil |