about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-05-21 19:27:16 +0200
committerThibG <thib@sitedethib.com>2020-05-21 20:05:46 +0200
commitb07c1e615b3f536b81eca5884ce7ee022c113238 (patch)
tree98d1c290b31ff4839c16a5904220dd738d03d710
parent4dcabe6f9c776ea230b23dc60ec9b8a8fbed82df (diff)
Fix backup service when user has posted instance-local toots, again
-rw-r--r--app/services/backup_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/backup_service.rb b/app/services/backup_service.rb
index 691d024e1..989fd6784 100644
--- a/app/services/backup_service.rb
+++ b/app/services/backup_service.rb
@@ -22,7 +22,7 @@ class BackupService < BaseService
 
     account.statuses.with_includes.reorder(nil).find_in_batches do |statuses|
       statuses.each do |status|
-        item = serialize_payload(status, ActivityPub::ActivitySerializer, signer: @account)
+        item = serialize_payload(status, ActivityPub::ActivitySerializer, signer: @account, allow_local_only: true)
         item.delete(:'@context')
 
         unless item[:type] == 'Announce' || item[:object][:attachment].blank?