summaryrefslogtreecommitdiff
path: root/lib/web/live
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2022-12-20 02:32:12 +0000
committerJordan Bracco <href@random.sh>2022-12-20 19:29:41 +0100
commit9aecb2bf2c4210d8b6b6976f749902b23ade83d6 (patch)
tree9547fdefe13f8c7695a8dea389ffd9d4ddbaf83c /lib/web/live
parentActually do not prefix folders with nola_ refs T77 (diff)
IRC.PubSub -> Nola.PubSub, refs T77
Diffstat (limited to 'lib/web/live')
-rw-r--r--lib/web/live/chat_live.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/web/live/chat_live.ex b/lib/web/live/chat_live.ex
index 678ea36..88afa0b 100644
--- a/lib/web/live/chat_live.ex
+++ b/lib/web/live/chat_live.ex
@@ -9,9 +9,9 @@ defmodule NolaWeb.ChatLive do
account = IRC.Account.get(account_id)
membership = IRC.Membership.of_account(IRC.Account.get("DRgpD4fLf8PDJMLp8Dtb"))
if account && connection && Enum.member?(membership, {connection.network, chan}) do
- {:ok, _} = Registry.register(IRC.PubSub, "#{connection.network}:events", plugin: __MODULE__)
+ {:ok, _} = Registry.register(Nola.PubSub, "#{connection.network}:events", plugin: __MODULE__)
for t <- ["messages", "triggers", "outputs", "events"] do
- {:ok, _} = Registry.register(IRC.PubSub, "#{connection.network}/#{chan}:#{t}", plugin: __MODULE__)
+ {:ok, _} = Registry.register(Nola.PubSub, "#{connection.network}/#{chan}:#{t}", plugin: __MODULE__)
end
IRC.PuppetConnection.start(account, connection)