Fix hashtag search

When we lowercase the search it will succesfully do a case insenstive
match. Now #Linux will match #linux and #LINUX whereas previously it
would only match the exact case.
This commit is contained in:
Mark Felder 2018-11-02 19:38:57 +00:00
parent f114f84324
commit 0cca7edbe0
1 changed files with 1 additions and 0 deletions

View File

@ -508,6 +508,7 @@ def hashtag_timeline(%{assigns: %{user: user}} = conn, params) do
|> Map.put("type", "Create")
|> Map.put("local_only", local_only)
|> Map.put("blocking_user", user)
|> Map.put("tag", String.downcase(params["tag"]))
activities =
ActivityPub.fetch_public_activities(params)