about summary refs log tree commit diff
path: root/app/lib/activitypub/activity
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-17 19:23:39 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-03-17 19:23:39 +0100
commit4e3c68e0256e6aab4bb30f350dac4fc4386cb0b9 (patch)
tree00a495e6f4abf68dbb9ecceae729c9e5345c318a /app/lib/activitypub/activity
parentac300173f68d2497cccf4e5bf558d95fc6105c96 (diff)
parent443d114574ef152f14815afc5c4ed5c977dd9205 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `app/helpers/accounts_helper.rb`:
  Upstream fixed an issue that glitch-soc did not have, in a place with
  glitch-soc changes to hide the number of followers.
  Kept glitch-soc's code.
Diffstat (limited to 'app/lib/activitypub/activity')
-rw-r--r--app/lib/activitypub/activity/update.rb2
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