projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Apply suggestion to lib/pleroma/web/pleroma_api/controllers/chat_controller.ex
[akkoma]
/
lib
/
pleroma
/
chat.ex
diff --git
a/lib/pleroma/chat.ex
b/lib/pleroma/chat.ex
index b8545063a3ee2bb931c5fbc0b75ab896cd5a0e5d..6b1f832cefb220b1febf7173d6a3a8f48ace3c35 100644
(file)
--- a/
lib/pleroma/chat.ex
+++ b/
lib/pleroma/chat.ex
@@
-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)