projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
528ea77
)
Apply suggestion to lib/pleroma/chat.ex
author
lain
<lain@soykaf.club>
Wed, 29 Apr 2020 18:14:34 +0000
(18:14 +0000)
committer
lain
<lain@soykaf.club>
Wed, 29 Apr 2020 18:14:34 +0000
(18:14 +0000)
lib/pleroma/chat.ex
patch
|
blob
|
history
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)