aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-05-06 14:23:39 +0200
committerRoger Braun <roger@rogerbraun.net>2017-05-06 14:23:39 +0200
commit7db76a0f0ef15b42a52f18271e223d1cb8e88c64 (patch)
tree6a80351aaba0309089e832e756d0131e1f531967 /lib
parentbda389d7d942b7e90ffb519bc680a424a8400e2f (diff)
downloadpleroma-7db76a0f0ef15b42a52f18271e223d1cb8e88c64.tar.gz
Address incoming messages to followers.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/ostatus/ostatus.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/ostatus/ostatus.ex b/lib/pleroma/web/ostatus/ostatus.ex
index fe42786b2..f335e9972 100644
--- a/lib/pleroma/web/ostatus/ostatus.ex
+++ b/lib/pleroma/web/ostatus/ostatus.ex
@@ -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)