diff options
author | Jordan Bracco <href@random.sh> | 2022-12-20 02:47:33 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | 2127553ad058bfa688feb73097e604a8fb5a1899 (patch) | |
tree | 3246c31aef0f6c3a110376de21265a6f5d02c597 /lib/matrix | |
parent | IRC.PubSub -> Nola.PubSub, refs T77 (diff) |
Rename IRC.Account to Nola.Account, refs T77
Diffstat (limited to 'lib/matrix')
-rw-r--r-- | lib/matrix/room.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/matrix/room.ex b/lib/matrix/room.ex index 12fabc8..4c5cf7e 100644 --- a/lib/matrix/room.ex +++ b/lib/matrix/room.ex @@ -172,12 +172,12 @@ defmodule Nola.Matrix.Room do end def get_account(%{user_id: user_id}, %{id: id}) do - IRC.Account.find_by_nick("matrix", user_id) + Nola.Account.find_by_nick("matrix", user_id) end defp introduce_irc_account(account_id, state) do mxid = Matrix.get_or_create_matrix_user(account_id) - account = IRC.Account.get(account_id) + account = Nola.Account.get(account_id) user = IRC.UserTrack.find_by_account(state.network, account) base_nick = if(user, do: user.nick, else: account.name) case Client.Profile.put_displayname(client(user_id: mxid), base_nick) do |