Merge pull request #3607 from glitch-soc/glitch-soc/merge-upstream

Merge upstream changes up to ae4f80ee57
This commit is contained in:
Claire authored and GitHub committed 2026-07-29 20:32:08 +02:00
commit 12706f5ef1
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ class BackupService < BaseService
unless item[:type] == 'Announce' || item[:object][:attachment].blank?
item[:object][:attachment].each do |attachment|
attachment[:url] = Addressable::URI.parse(attachment[:url]).path.delete_prefix('/system/')
attachment[:url] = Addressable::URI.parse(attachment[:url]).path.delete_prefix('/system/') if attachment[:url].present?
end
end