Fix user topic streaming.
authorlain <lain@soykaf.club>
Sat, 26 May 2018 19:06:46 +0000 (21:06 +0200)
committerlain <lain@soykaf.club>
Sat, 26 May 2018 19:06:46 +0000 (21:06 +0200)
lib/pleroma/web/streamer.ex

index 6aac472dcdefbc6486d0d0151a477b1eb1b146b7..6ed9035fb5d6414e9b0e04a8d86c08e99ff417e7 100644 (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