forked from AkkomaGang/akkoma
Exclude Announce instead of restricting to Create in visibility_tags
This commit is contained in:
parent
fd38756e92
commit
7b9cc9a9b0
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ defp generate_topics(object, activity) do
|
||||||
["user", "list"] ++ visibility_tags(object, activity)
|
["user", "list"] ++ visibility_tags(object, activity)
|
||||||
end
|
end
|
||||||
|
|
||||||
defp visibility_tags(object, %{data: %{"type" => "Create"}} = activity) do
|
defp visibility_tags(object, %{data: %{"type" => type}} = activity) when type != "Announce" do
|
||||||
case Visibility.get_visibility(activity) do
|
case Visibility.get_visibility(activity) do
|
||||||
"public" ->
|
"public" ->
|
||||||
if activity.local do
|
if activity.local do
|
||||||
|
|
Loading…
Reference in a new issue