mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
reject discourage from list
This commit is contained in:
parent
5dfd8f5b60
commit
7f55c63303
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ defmodule PhilomenaWeb.ProfileController do
|
|||
Bans.User
|
||||
|> where(user_id: ^user.id)
|
||||
|> Repo.all()
|
||||
|> Enum.reject(&String.contains?(&1.note || "", "discourage"))
|
||||
|
||||
render(
|
||||
conn,
|
||||
|
|
Loading…
Reference in a new issue