diff options
-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 |