From: William Pitcock Date: Tue, 20 Nov 2018 18:41:44 +0000 (+0000) Subject: user: fix user.info lookup in User.locked?() X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=312676f71192889a9d3d1948f8afa53ec32b53e2;p=akkoma user: fix user.info lookup in User.locked?() --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 03fe2f1d4..c7de03347 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -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