Wire up join requests to the old "chat:public" channel into the new "shout:public" channel
This commit is contained in:
parent
d9513b11d3
commit
48a0ea2fc3
|
@ -9,6 +9,9 @@ defmodule Pleroma.Web.ShoutChannel do
|
|||
alias Pleroma.Web.MastodonAPI.AccountView
|
||||
alias Pleroma.Web.ShoutChannel.ShoutChannelState
|
||||
|
||||
# Backwards compatibility
|
||||
def join("chat:public", message, socket), do: join("shout:public", message, socket)
|
||||
|
||||
def join("shout:public", _message, socket) do
|
||||
send(self(), :after_join)
|
||||
{:ok, socket}
|
||||
|
|
Loading…
Reference in a new issue