diff options
author | Jordan Bracco <href@random.sh> | 2022-12-20 02:32:12 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | 9aecb2bf2c4210d8b6b6976f749902b23ade83d6 (patch) | |
tree | 9547fdefe13f8c7695a8dea389ffd9d4ddbaf83c /lib/telegram/room.ex | |
parent | Actually do not prefix folders with nola_ refs T77 (diff) |
IRC.PubSub -> Nola.PubSub, refs T77
Diffstat (limited to 'lib/telegram/room.ex')
-rw-r--r-- | lib/telegram/room.ex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/telegram/room.ex b/lib/telegram/room.ex index ca8a437..49fc06d 100644 --- a/lib/telegram/room.ex +++ b/lib/telegram/room.ex @@ -55,9 +55,9 @@ defmodule Nola.TelegramRoom do %{"network" => net, "channel" => chan} = tg_room Logger.info("Starting ChatBot for room #{id} \"#{chat["title"]}\" #{inspect tg_room}") irc_plumbed = if net && chan do - {:ok, _} = Registry.register(IRC.PubSub, "#{net}/#{chan}:messages", plugin: __MODULE__) - {:ok, _} = Registry.register(IRC.PubSub, "#{net}/#{chan}:triggers", plugin: __MODULE__) - {:ok, _} = Registry.register(IRC.PubSub, "#{net}/#{chan}:outputs", plugin: __MODULE__) + {:ok, _} = Registry.register(Nola.PubSub, "#{net}/#{chan}:messages", plugin: __MODULE__) + {:ok, _} = Registry.register(Nola.PubSub, "#{net}/#{chan}:triggers", plugin: __MODULE__) + {:ok, _} = Registry.register(Nola.PubSub, "#{net}/#{chan}:outputs", plugin: __MODULE__) true else Logger.warn("Did not found telegram match for #{id} \"#{chat["title"]}\"") |