Larger bio length limit for remote accounts.
authorRoger Braun <roger@rogerbraun.net>
Sat, 1 Jul 2017 00:00:12 +0000 (02:00 +0200)
committerRoger Braun <roger@rogerbraun.net>
Sat, 1 Jul 2017 00:00:12 +0000 (02:00 +0200)
lib/pleroma/user.ex

index 869a3eb1b5b77352b41b3920da7072ab488a2eeb..23e650ce5c9d1c0ba6270941320ef4951114510f 100644 (file)
@@ -69,7 +69,7 @@ defmodule Pleroma.User do
     |> validate_required([:name, :ap_id, :nickname])
     |> unique_constraint(:nickname)
     |> validate_format(:nickname, @email_regex)
-    |> validate_length(:bio, max: 1000)
+    |> validate_length(:bio, max: 5000)
     |> validate_length(:name, max: 100)
     |> put_change(:local, false)
   end