Streamer: Stream boosts to the boosting user.
This commit is contained in:
parent
1cd38dfffa
commit
7a3a88a13e
4 changed files with 51 additions and 19 deletions
|
|
@ -1180,7 +1180,9 @@ defmodule Pleroma.User do
|
|||
end
|
||||
|
||||
@spec get_recipients_from_activity(Activity.t()) :: [User.t()]
|
||||
def get_recipients_from_activity(%Activity{recipients: to}) do
|
||||
def get_recipients_from_activity(%Activity{recipients: to, actor: actor}) do
|
||||
to = [actor | to]
|
||||
|
||||
User.Query.build(%{recipients_from_activity: to, local: true, deactivated: false})
|
||||
|> Repo.all()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue