Apply suggestion to lib/pleroma/chat.ex
[akkoma] / lib / pleroma / chat.ex
index b8545063a3ee2bb931c5fbc0b75ab896cd5a0e5d..6b1f832cefb220b1febf7173d6a3a8f48ace3c35 100644 (file)
@@ -29,7 +29,7 @@ defmodule Pleroma.Chat do
     |> validate_change(:recipient, fn
       :recipient, recipient ->
         case User.get_cached_by_ap_id(recipient) do
-          nil -> [recipient: "must a an existing user"]
+          nil -> [recipient: "must be an existing user"]
           _ -> []
         end
     end)