update `updated_at` when boosting own old posts so the post can actually federate past the max public expiration window

master
multiple creatures 2020-01-13 17:16:13 -06:00
parent e9d38fc5b2
commit dfce98a69b
1 changed files with 2 additions and 0 deletions

View File

@ -19,9 +19,11 @@ class ReblogService < BaseService
if new_reblog
reblogged_status.account.mark_known! unless !Setting.auto_mark_known || reblogged_status.account.known?
reblogged_status.touch if reblogged_status.account.id == account.id
visibility = options[:visibility] || account.user&.setting_default_privacy
visibility = reblogged_status.visibility if reblogged_status.hidden?
reblog = account.statuses.create!(reblog: reblogged_status, text: '', visibility: visibility)
end