mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
user: fix user.info lookup in User.locked?()
This commit is contained in:
parent
2887f4ff1d
commit
312676f711
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ defmodule Pleroma.User do
|
|||
end
|
||||
|
||||
def locked?(%User{} = user) do
|
||||
user.info["locked"] || false
|
||||
user.info.locked || false
|
||||
end
|
||||
|
||||
def get_by_ap_id(ap_id) do
|
||||
|
|
Loading…
Reference in a new issue