diff options
Diffstat (limited to 'lib/web/live/chat_live.ex')
-rw-r--r-- | lib/web/live/chat_live.ex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/web/live/chat_live.ex b/lib/web/live/chat_live.ex index 2d5e289..3f126f2 100644 --- a/lib/web/live/chat_live.ex +++ b/lib/web/live/chat_live.ex @@ -16,8 +16,8 @@ defmodule NolaWeb.ChatLive do IRC.PuppetConnection.start(account, connection) - users = IRC.UserTrack.channel(connection.network, chan) - |> Enum.map(fn(tuple) -> IRC.UserTrack.User.from_tuple(tuple) end) + users = Nola.UserTrack.channel(connection.network, chan) + |> Enum.map(fn(tuple) -> Nola.UserTrack.User.from_tuple(tuple) end) |> Enum.reduce(Map.new, fn(user = %{id: id}, acc) -> Map.put(acc, id, user) end) @@ -53,7 +53,7 @@ defmodule NolaWeb.ChatLive do end def handle_info({:irc, :event, event = %{type: :join, user_id: id}}, socket) do - if user = IRC.UserTrack.lookup(id) do + if user = Nola.UserTrack.lookup(id) do socket = socket |> assign(:users, Map.put(socket.assigns.users, id, user)) |> append_to_backlog(event) |