Merge branch 'fix_hashtag_search' into 'develop'

Fix hashtag search

See merge request pleroma/pleroma!418
This commit is contained in:
lambda 2018-11-02 20:05:56 +00:00
commit 4bcdbb12a4

View File

@ -508,6 +508,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|> Map.put("type", "Create") |> Map.put("type", "Create")
|> Map.put("local_only", local_only) |> Map.put("local_only", local_only)
|> Map.put("blocking_user", user) |> Map.put("blocking_user", user)
|> Map.put("tag", String.downcase(params["tag"]))
activities = activities =
ActivityPub.fetch_public_activities(params) ActivityPub.fetch_public_activities(params)