projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more information about failed verifications
[akkoma]
/
lib
/
pleroma
/
user.ex
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 1572a895ec0bb308e4c8a81ff0251b32e948921a..f94202af5df22510d19f30fb73a5133ae923e9c7 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-2000,6
+2000,7
@@
defmodule Pleroma.User do
%User{
invisible: true,
local: true,
%User{
invisible: true,
local: true,
+ actor_type: "Application",
ap_id: uri,
nickname: nickname,
follower_address: uri <> "/followers"
ap_id: uri,
nickname: nickname,
follower_address: uri <> "/followers"
@@
-2076,10
+2077,14
@@
defmodule Pleroma.User do
# TODO: get profile URLs other than user.ap_id
profile_urls = [user.ap_id]
# TODO: get profile URLs other than user.ap_id
profile_urls = [user.ap_id]
- bio
- |> CommonUtils.format_input("text/plain",
+ CommonUtils.format_input(bio, "text/plain",
mentions_format: :full,
mentions_format: :full,
- rel: &RelMe.maybe_put_rel_me(&1, profile_urls)
+ rel: fn link ->
+ case RelMe.maybe_put_rel_me(link, profile_urls) do
+ "me" -> "me"
+ _ -> nil
+ end
+ end
)
|> elem(0)
end
)
|> elem(0)
end