Merge commit 'ae4f80ee5721465dc55a08b70a9792e9db763459' into glitch-soc/merge-upstream

This commit is contained in:
Claire committed 2026-07-29 20:09:08 +02:00
commit 93e623a1e5
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