diff options
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/link/html.ex | 2 | ||||
-rw-r--r-- | lib/plugins/link/twitter.ex | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugins/link/html.ex b/lib/plugins/link/html.ex index 9b44319..a941aac 100644 --- a/lib/plugins/link/html.ex +++ b/lib/plugins/link/html.ex @@ -46,7 +46,7 @@ defmodule Nola.Plugins.Link.HTML do else "" end - [clean_text("#{prefix}#{Map.get(opengraph, "title")}")] ++ IRC.splitlong(clean_text("#{date}#{Map.get(opengraph, "description")}")) + [clean_text("#{prefix}#{Map.get(opengraph, "title")}")] ++ Nola.Irc.Message.splitlong(clean_text("#{date}#{Map.get(opengraph, "description")}")) else clean_text(title) end diff --git a/lib/plugins/link/twitter.ex b/lib/plugins/link/twitter.ex index e7f3e63..48e6bae 100644 --- a/lib/plugins/link/twitter.ex +++ b/lib/plugins/link/twitter.ex @@ -68,7 +68,7 @@ defmodule Nola.Plugins.Link.Twitter do else text end - text = IRC.splitlong(text) + text = Nola.Irc.Message.splitlong(text) reply_to = if tweet.in_reply_to_status_id do reply_url = link_tweet({tweet.in_reply_to_screen_name, tweet.in_reply_to_status_id}, opts) @@ -79,7 +79,7 @@ defmodule Nola.Plugins.Link.Twitter do quoted = if tweet.quoted_status do full_text = tweet.quoted_status |> expand_twitter_text(opts) - |> IRC.splitlong_with_prefix(">") + |> Nola.Irc.Message.splitlong_with_prefix(">") head = format_tweet_header(tweet.quoted_status, opts, details: false, prefix: "↓ quoting") |