Merge branch 'main' into glitch-soc/merge-upstream
This commit is contained in:
@@ -168,7 +168,7 @@ class BackupService < BaseService
|
||||
io.write(buffer)
|
||||
end
|
||||
end
|
||||
rescue Errno::ENOENT, Seahorse::Client::NetworkingError
|
||||
Rails.logger.warn "Could not backup file #{filename}: file not found"
|
||||
rescue Errno::ENOENT, Seahorse::Client::NetworkingError => e
|
||||
Rails.logger.warn "Could not backup file #{filename}: #{e}"
|
||||
end
|
||||
end
|
||||
|
@@ -104,7 +104,7 @@ class RemoveStatusService < BaseService
|
||||
# because once original status is gone, reblogs will disappear
|
||||
# without us being able to do all the fancy stuff
|
||||
|
||||
@status.reblogs.includes(:account).find_each do |reblog|
|
||||
@status.reblogs.includes(:account).reorder(nil).find_each do |reblog|
|
||||
RemoveStatusService.new.call(reblog, original_removed: true)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user