diff options
Diffstat (limited to 'lib/telegram.ex')
-rw-r--r-- | lib/telegram.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/telegram.ex b/lib/telegram.ex index dcd8b1f..f2c9eca 100644 --- a/lib/telegram.ex +++ b/lib/telegram.ex @@ -145,7 +145,7 @@ defmodule Nola.Telegram do path = NolaWeb.Router.Helpers.url(NolaWeb.Endpoint) <> "/files/#{s3path}" sent = for {net, chan} <- target do txt = "sent#{type}#{text} #{path}" - IRC.send_message_as(account, net, chan, txt) + Nola.Irc.send_message_as(account, net, chan, txt) "#{net}/#{chan}" end if caption = op["caption"], do: as_irc_message(chat_id, caption, account) |