Fix user topic streaming.

This commit is contained in:
lain 2018-05-26 21:06:46 +02:00
parent 46cc6fab07
commit a9e36e5a64

View File

@ -150,7 +150,7 @@ defmodule Pleroma.Web.Streamer do
end)
end
defp internal_topic(topic, socket) when topic in ~w[user, direct] do
defp internal_topic(topic, socket) when topic in ~w[user direct] do
"#{topic}:#{socket.assigns[:user].id}"
end