aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/shout_channel.ex3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pleroma/web/shout_channel.ex b/lib/pleroma/web/shout_channel.ex
index dc342fdfb..70d9cc1e1 100644
--- a/lib/pleroma/web/shout_channel.ex
+++ b/lib/pleroma/web/shout_channel.ex
@@ -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}