mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-19 11:45:01 +00:00
user: hide virtual actors from statistics queries
This commit is contained in:
parent
de6be63b1b
commit
ecfd4b2106
1 changed files with 5 additions and 1 deletions
|
@ -578,7 +578,11 @@ defmodule Pleroma.User do
|
|||
end
|
||||
|
||||
def local_user_query() do
|
||||
from(u in User, where: u.local == true)
|
||||
from(
|
||||
u in User,
|
||||
where: u.local == true,
|
||||
where: not is_nil(u.nickname)
|
||||
)
|
||||
end
|
||||
|
||||
def deactivate(%User{} = user) do
|
||||
|
|
Loading…
Reference in a new issue