diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-11-23 23:10:05 -0600 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-11-23 23:10:05 -0600 |
commit | 65a9abb315f18ac777f3d0e09b3f7399830ad243 (patch) | |
tree | 39712b50201749efad11dce09561d81f4bdcdb2f /app/presenters | |
parent | 7f5ba917563aa1c9a373d9dd3a6a29f73d81ee9a (diff) |
Add user options to disable recipient verification, allow anonymous public access; rework private mode
Diffstat (limited to 'app/presenters')
-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 e17f8bb98..dbeeb5316 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 + unless embed || status.account.no_verify_auth? presenter.virtual_object = ActivityPub::TagManager.instance.uri_for(status.proper) next end |