Revert "Merge branch 'features/hashtag-column' into 'develop'"

This reverts merge request !2824
This commit is contained in:
Haelwenn 2020-12-28 12:02:16 +00:00
commit 3966add048
24 changed files with 70 additions and 163 deletions

View file

@ -346,8 +346,4 @@ defmodule Pleroma.Object do
def self_replies(object, opts \\ []),
do: replies(object, Keyword.put(opts, :self_only, true))
def hashtags(%Object{data: %{"hashtags" => hashtags}}), do: hashtags || []
def hashtags(%Object{data: %{"tag" => tags}}), do: Enum.filter(tags, &is_bitstring(&1))
def hashtags(_), do: []
end