projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9513b1
)
Wire up join requests to the old "chat:public" channel into the new "shout:public...
author
Mark Felder
<feld@feld.me>
Tue, 1 Jun 2021 16:55:51 +0000
(11:55 -0500)
committer
Mark Felder
<feld@feld.me>
Tue, 1 Jun 2021 16:56:51 +0000
(11:56 -0500)
lib/pleroma/web/shout_channel.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/shout_channel.ex
b/lib/pleroma/web/shout_channel.ex
index dc342fdfb191b01b60501d5ae9fc7e58a99d15fd..70d9cc1e193594da2530d205924473baa7ff7def 100644
(file)
--- 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}