From cc824f5f760e70f8128deffc1d9814cfc8dd06b4 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Thu, 19 Nov 2020 12:40:36 -0600 Subject: Remove unnecessary check of update parameter --- app/presenters/activitypub/activity_presenter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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 -- cgit