From 80c51b1ec560299a01848308c32fb4e3c8d647d9 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 30 Sep 2019 16:07:42 -0500 Subject: community-visible (not community-only!) posts are also distributable - notify the local author when they get boosted --- app/lib/activitypub/activity/announce.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/lib/activitypub/activity/announce.rb b/app/lib/activitypub/activity/announce.rb index 245126123..ec0ed2c98 100644 --- a/app/lib/activitypub/activity/announce.rb +++ b/app/lib/activitypub/activity/announce.rb @@ -42,7 +42,7 @@ class ActivityPub::Activity::Announce < ActivityPub::Activity end def announceable?(status) - status.account_id == @account.id || status.public_visibility? || status.unlisted_visibility? + status.account_id == @account.id || status.distributable? end def related_to_local_activity? -- cgit