Merge remote-tracking branch 'remotes/origin/develop' into feature/object-hashtags...
[akkoma] / lib / pleroma / web / mastodon_api / controllers / timeline_controller.ex
index cef299aa49a1579719b3f017aade8edfced9076a..87effa00bcce3f431f93d4a4077a926c692e4192 100644 (file)
@@ -136,9 +136,9 @@ defmodule Pleroma.Web.MastodonAPI.TimelineController do
     tags =
       [params[:tag], params[:any]]
       |> List.flatten()
-      |> Enum.uniq()
       |> Enum.reject(&is_nil/1)
       |> Enum.map(&String.downcase/1)
+      |> Enum.uniq()
 
     tag_all =
       params