diff options
author | Ariadne Conill <ariadne@dereferenced.org> | 2019-10-18 15:39:15 +0000 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-10-18 15:39:15 +0000 |
commit | 44e64af5e76e1ace82aa66973da883e334ebfc93 (patch) | |
tree | fbaeaed2c0a79fbfd053588e2886a75c60bab0d9 | |
parent | e99fdfc32db231391184220eb28024d358821d27 (diff) | |
download | pleroma-44e64af5e76e1ace82aa66973da883e334ebfc93.tar.gz |
object: containment: simplify the pattern match for OStatus testsuite hack
-rw-r--r-- | lib/pleroma/object/containment.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/object/containment.ex b/lib/pleroma/object/containment.ex index 1beb9c83d..68535c09e 100644 --- a/lib/pleroma/object/containment.ex +++ b/lib/pleroma/object/containment.ex @@ -36,7 +36,7 @@ defmodule Pleroma.Object.Containment do # objects being present in the test suite environment. Once these objects are # removed, please also remove this. if Mix.env() == :test do - defp compare_uris(_, %URI{scheme: "tag" <> _}), do: :ok + defp compare_uris(_, %URI{scheme: "tag"}), do: :ok end defp compare_uris(%URI{} = id_uri, %URI{} = other_uri) do |