diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-01-13 17:16:13 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-01-13 17:16:52 -0600 |
commit | dfce98a69b0c6f9f08db327cc4fed6c75fd93dd0 (patch) | |
tree | b606092bb020e6ed72c427334887e91ffc353990 /app | |
parent | e9d38fc5b2fe83507e4d9aec398587451ca7d87f (diff) |
update `updated_at` when boosting own old posts so the post can actually federate past the max public expiration window
Diffstat (limited to 'app')
-rw-r--r-- | app/services/reblog_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/reblog_service.rb b/app/services/reblog_service.rb index e2062d63c..54a0adf45 100644 --- a/app/services/reblog_service.rb +++ b/app/services/reblog_service.rb @@ -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 |