       "Facebook Source",
       article_url: url,
       article_search_url: url_without_protocol(url)
-    )
-  end
-
-  defp source_spike_message(%{url: url}, %{source: source}) do
-    string_number = :rand.uniform(2)
-
-    Gettext.gettext(
-      EspiDni.Gettext,
-      "Generic Source Spike #{string_number}",
-      article_url: url,
-      source_name: source
     )
   end
 

  end

  def send_source_spike_message(article, source) do
    message = source_spike_message(article, source)
    user    = article_user(article)

    send_message(user, message)
  end

    )
  end

  defp source_spike_message(%{url: url}, source, user) do
    custom_text = get_custom_text(user.team_id, "source_spike")

    if is_nil(custom_text) do
      source_spike_message(%{url: url}, %{source: source})
    else
      case Gettext.Interpolation.interpolate(custom_text, %{article_url: url, source_name: source}) do
        {:ok, text} -> text
        _ -> source_spike_message(%{url: url}, %{source: source})
      end
    end
  end

  defp source_spike_message(%{url: url}, %{source: source}) do
    string_number = :rand.uniform(2)

    Gettext.gettext(
      EspiDni.Gettext,
      "Generic Source Spike #{string_number}",
      article_url: url,
      source_name: source
    )
  end

  defp source_spike_message(%{url: url}, %{source: "Twitter"}) do
