Create mentions only for explicitly mentioned users
This commit is contained in:
parent
f295b9fba9
commit
ff55e3c16f
4 changed files with 73 additions and 5 deletions
|
|
@ -1234,7 +1234,6 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
|
|||
|
||||
recipients = Enum.map(response["mentions"], & &1["username"])
|
||||
|
||||
assert conn.assigns[:user].nickname in recipients
|
||||
assert reporter.nickname in recipients
|
||||
assert response["content"] == "I will check it out"
|
||||
assert response["visibility"] == "direct"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue