From: Maxim Filippov Date: Sun, 22 Sep 2019 20:13:48 +0000 (+0300) Subject: Format X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d72d4757a8e66c29d58e0a3b7fb36356ae419a54;p=akkoma Format --- diff --git a/lib/pleroma/user/info.ex b/lib/pleroma/user/info.ex index 67abc3ecd..99745f496 100644 --- a/lib/pleroma/user/info.ex +++ b/lib/pleroma/user/info.ex @@ -342,7 +342,9 @@ defmodule Pleroma.User.Info do name_limit = Pleroma.Config.get([:instance, :account_field_name_length], 255) value_limit = Pleroma.Config.get([:instance, :account_field_value_length], 255) - is_binary(name) && is_binary(value) && String.length(name) <= name_limit && + is_binary(name) && + is_binary(value) && + String.length(name) <= name_limit && String.length(value) <= value_limit end