Skip to content
Snippets Groups Projects
Commit a00dbfe0 authored by Roger Braun's avatar Roger Braun
Browse files

.

parent 85e97678
Branches develop
No related tags found
No related merge requests found
......@@ -57,6 +57,13 @@ defmodule Pleroma.Notification do
Streamer.stream(user, %{type: "notification", payload: json})
if activity.data["type"] == "Create" do
json = StatusView.render("status.json", %{activity: activity, for: user})
|> Poison.encode!
Streamer.stream(user, %{type: "update", payload: json})
end
notification
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment