Restrict thread statuses that contain user's irreversible filters
This commit is contained in:
parent
5af1bf443d
commit
8277b29790
4 changed files with 35 additions and 4 deletions
|
|
@ -1147,7 +1147,7 @@ defmodule Pleroma.NotificationTest do
|
|||
insert(:filter, user: user, phrase: "test", hide: false)
|
||||
another_user = insert(:user)
|
||||
|
||||
{:ok, _activity} = CommonAPI.post(another_user, %{"status" => "@#{user.nickname} test"})
|
||||
{:ok, _} = CommonAPI.post(another_user, %{"status" => "@#{user.nickname} test"})
|
||||
|
||||
assert length(Notification.for_user(user)) == 1
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue