Update the mute implementation to the current codebase
Make it part of the info thing (and do a migration to ensure it's there)
This commit is contained in:
parent
465b547c90
commit
5a46d37af9
6 changed files with 64 additions and 20 deletions
|
|
@ -577,7 +577,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
defp restrict_reblogs(query, _), do: query
|
||||
|
||||
defp restrict_muted(query, %{"muting_user" => %User{info: info}}) do
|
||||
mutes = info["mutes"] || []
|
||||
mutes = info.mutes
|
||||
|
||||
from(
|
||||
activity in query,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue