mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 00:09:35 +00:00
Apply suggestion to lib/pleroma/chat.ex
This commit is contained in:
parent
528ea779a6
commit
89a6c34081
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue