summaryrefslogtreecommitdiff
path: root/lib/matrix
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2022-12-20 15:03:45 +0000
committerJordan Bracco <href@random.sh>2022-12-20 19:29:42 +0100
commitd476f949136571a89eb0a1ada1a0e112c6a1dfb5 (patch)
treec96a18742428175c639fd14b1053b73615ab12e7 /lib/matrix
parentchore: config example update, add version to footer, remove useless module, r... (diff)
Finish renaming IRC to Nola.Irc, refs T77.
Diffstat (limited to 'lib/matrix')
-rw-r--r--lib/matrix/room.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/matrix/room.ex b/lib/matrix/room.ex
index 299d7cc..e2965a5 100644
--- a/lib/matrix/room.ex
+++ b/lib/matrix/room.ex
@@ -162,7 +162,7 @@ defmodule Nola.Matrix.Room do
end
def handle_matrix(event = %{type: "m.room.message", user_id: user_id, content: %{"msgtype" => "m.text", "body" => text}}, state) do
- IRC.send_message_as(get_account(event, state), state.network, state.channel, text, true)
+ Nola.Irc.send_message_as(get_account(event, state), state.network, state.channel, text, true)
{:noreply, state}
end