about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-11-19 12:40:36 -0600
committerFire Demon <firedemon@creature.cafe>2020-11-19 12:40:36 -0600
commitcc824f5f760e70f8128deffc1d9814cfc8dd06b4 (patch)
tree81103f1d559ca3370e476fd3a5cdcbc0b6ca05ac /app
parentdd3cea4ef6fc759543c6457e419c31dc7df6140a (diff)
Remove unnecessary check of update parameter
Diffstat (limited to 'app')
-rw-r--r--app/presenters/activitypub/activity_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/activitypub/activity_presenter.rb b/app/presenters/activitypub/activity_presenter.rb
index 7f640ee9f..e17f8bb98 100644
--- a/app/presenters/activitypub/activity_presenter.rb
+++ b/app/presenters/activitypub/activity_presenter.rb
@@ -14,7 +14,7 @@ class ActivityPub::ActivityPresenter < ActiveModelSerializers::Model
         presenter.to        = ActivityPub::TagManager.instance.to(status, domain)
         presenter.cc        = ActivityPub::TagManager.instance.cc(status, domain)
 
-        unless embed && !update
+        unless embed
           presenter.virtual_object = ActivityPub::TagManager.instance.uri_for(status.proper)
           next
         end