Commit 312676f7 authored by kaniini's avatar kaniini

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

parent 2887f4ff
......@@ -286,7 +286,7 @@ def following?(%User{} = follower, %User{} = followed) do
end
def locked?(%User{} = user) do
user.info["locked"] || false
user.info.locked || false
end
def get_by_ap_id(ap_id) do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment