projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'ogg-theora-detection' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
ostatus
/
activity_representer.ex
diff --git
a/lib/pleroma/web/ostatus/activity_representer.ex
b/lib/pleroma/web/ostatus/activity_representer.ex
index 5d831459b9e247e546573d496b43cbf8277321d4..537bd9f7763fa292f318c74e52e66bc2276f3406 100644
(file)
--- a/
lib/pleroma/web/ostatus/activity_representer.ex
+++ b/
lib/pleroma/web/ostatus/activity_representer.ex
@@
-184,7
+184,10
@@
defmodule Pleroma.Web.OStatus.ActivityRepresenter do
retweeted_xml = to_simple_form(retweeted_activity, retweeted_user, true)
retweeted_xml = to_simple_form(retweeted_activity, retweeted_user, true)
- mentions = activity.recipients |> get_mentions
+ mentions =
+ ([retweeted_user.ap_id] ++ activity.recipients)
+ |> Enum.uniq()
+ |> get_mentions()
[
{:"activity:object-type", ['http://activitystrea.ms/schema/1.0/activity']},
[
{:"activity:object-type", ['http://activitystrea.ms/schema/1.0/activity']},