Address incoming messages to followers.
This commit is contained in:
parent
bda389d7d9
commit
7db76a0f0e
2 changed files with 5 additions and 2 deletions
|
|
@ -143,7 +143,8 @@ defmodule Pleroma.Web.OStatus do
|
|||
end
|
||||
|
||||
to = [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
"https://www.w3.org/ns/activitystreams#Public",
|
||||
User.ap_followers(actor)
|
||||
]
|
||||
|
||||
mentions = :xmerl_xpath.string('//link[@rel="mentioned" and @ostatus:object-type="http://activitystrea.ms/schema/1.0/person"]', entry)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue