projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '1501-include-unlisted-posts-in-user-feed' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
side_effects.ex
diff --git
a/lib/pleroma/web/activity_pub/side_effects.ex
b/lib/pleroma/web/activity_pub/side_effects.ex
index 66aa1f628f4e985b1fa4d4a3096859815c11b4ea..7eae0c52ccf906cff1b00ab6b14a0255e52f3d9c 100644
(file)
--- a/
lib/pleroma/web/activity_pub/side_effects.ex
+++ b/
lib/pleroma/web/activity_pub/side_effects.ex
@@
-11,7
+11,6
@@
defmodule Pleroma.Web.ActivityPub.SideEffects do
alias Pleroma.Repo
alias Pleroma.User
alias Pleroma.Web.ActivityPub.ActivityPub
alias Pleroma.Repo
alias Pleroma.User
alias Pleroma.Web.ActivityPub.ActivityPub
- alias Pleroma.Web.ActivityPub.Visibility
alias Pleroma.Web.ActivityPub.Utils
def handle(object, meta \\ [])
alias Pleroma.Web.ActivityPub.Utils
def handle(object, meta \\ [])
@@
-35,9
+34,7
@@
defmodule Pleroma.Web.ActivityPub.SideEffects do
def handle(%{data: %{"type" => "Announce"}} = object, meta) do
announced_object = Object.get_by_ap_id(object.data["object"])
def handle(%{data: %{"type" => "Announce"}} = object, meta) do
announced_object = Object.get_by_ap_id(object.data["object"])
- if Visibility.is_public?(object) do
- Utils.add_announce_to_object(object, announced_object)
- end
+ Utils.add_announce_to_object(object, announced_object)
Notification.create_notifications(object)
ActivityPub.stream_out(object)
Notification.create_notifications(object)
ActivityPub.stream_out(object)