From: Egor Kislitsyn Date: Wed, 14 Aug 2019 14:03:25 +0000 (+0700) Subject: Fix compatibility with Elixir 1.8 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c9970feee20f25375223e5f4a32bdbcff7b98607;p=akkoma Fix compatibility with Elixir 1.8 --- diff --git a/lib/pleroma/emails/user_email.ex b/lib/pleroma/emails/user_email.ex index bf6b811b1..3b5e64019 100644 --- a/lib/pleroma/emails/user_email.ex +++ b/lib/pleroma/emails/user_email.ex @@ -154,7 +154,7 @@ defmodule Pleroma.Emails.UserEmail do defp format_links(str) do re = ~r//iU - String.replace(str, re, fn link -> + Regex.replace(re, str, fn link -> String.replace(link, "