about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorJenkins <jenkins@jenkins.ninjawedding.org>2018-01-05 22:17:12 +0000
committerJenkins <jenkins@jenkins.ninjawedding.org>2018-01-05 22:17:12 +0000
commitf6adb409fd8f4bf42c1da54cc1e7e42886612c14 (patch)
tree01ab66d37a57fbe59546f6376e16c8398b5198d8 /app/services
parentf41b33eb0177b23bd72fede7df94af43da0c7c6b (diff)
parent10f6793fd0af3690a37c868b7bb4418418dc3a7a (diff)
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'app/services')
-rw-r--r--app/services/fetch_atom_service.rb2
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