projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add basic thread fetching.
[akkoma]
/
lib
/
pleroma
/
web
/
ostatus
/
feed_representer.ex
diff --git
a/lib/pleroma/web/ostatus/feed_representer.ex
b/lib/pleroma/web/ostatus/feed_representer.ex
index 7f9d6a46bab1420bf9ee12bbeb1e5c729d104e48..6b67b8ddf4f15485440e2e6dfac7a190318f37f1 100644
(file)
--- a/
lib/pleroma/web/ostatus/feed_representer.ex
+++ b/
lib/pleroma/web/ostatus/feed_representer.ex
@@
-8,7
+8,8
@@
defmodule Pleroma.Web.OStatus.FeedRepresenter do
h = fn(str) -> [to_charlist(str)] end
- entries = Enum.map(activities, fn(activity) ->
+ entries = activities
+ |> Enum.map(fn(activity) ->
{:entry, ActivityRepresenter.to_simple_form(activity, user)}
end)
|> Enum.filter(fn ({_, form}) -> form end)