diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-11-19 12:40:36 -0600 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-11-19 12:40:36 -0600 |
commit | cc824f5f760e70f8128deffc1d9814cfc8dd06b4 (patch) | |
tree | 81103f1d559ca3370e476fd3a5cdcbc0b6ca05ac | |
parent | dd3cea4ef6fc759543c6457e419c31dc7df6140a (diff) |
Remove unnecessary check of update parameter
-rw-r--r-- | app/presenters/activitypub/activity_presenter.rb | 2 |
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 |