user: fix user.info lookup in User.locked?()

This commit is contained in:
William Pitcock 2018-11-20 18:41:44 +00:00
parent 2887f4ff1d
commit 312676f711

View file

@ -286,7 +286,7 @@ def following?(%User{} = follower, %User{} = followed) do
end end
def locked?(%User{} = user) do def locked?(%User{} = user) do
user.info["locked"] || false user.info.locked || false
end end
def get_by_ap_id(ap_id) do def get_by_ap_id(ap_id) do