diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/activitypub/activity/update.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/lib/activitypub/activity/update.rb b/app/lib/activitypub/activity/update.rb index 5802ead5d..5b3238ece 100644 --- a/app/lib/activitypub/activity/update.rb +++ b/app/lib/activitypub/activity/update.rb @@ -8,6 +8,8 @@ class ActivityPub::Activity::Update < ActivityPub::Activity update_account elsif equals_or_includes_any?(@object['type'], %w(Note Question)) update_status + elsif converted_object_type? + Status.find_by(uri: object_uri, account_id: @account.id) end end |