Compatibility with phoenix_pubsub 2.0.0

This commit is contained in:
Mark Felder 2020-10-07 13:28:39 -05:00
commit 8156940a49
3 changed files with 6 additions and 3 deletions

View file

@ -202,7 +202,10 @@ defmodule Pleroma.Application do
end
defp chat_child(true) do
[Pleroma.Web.ChatChannel.ChatChannelState]
[
Pleroma.Web.ChatChannel.ChatChannelState,
{Phoenix.PubSub, [name: Pleroma.PubSub, adapter: Phoenix.PubSub.PG2]}
]
end
defp chat_child(_), do: []