Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
39a5bea9
Verified
Commit
39a5bea9
authored
Mar 02, 2019
by
Haelwenn
Browse files
Pleroma.User: Fix syntax and user.ap_id call
parent
3d226423
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/user.ex
View file @
39a5bea9
...
...
@@ -1204,13 +1204,13 @@ def parse_bio(bio, user) do
end
)
# TODO: get profile URLs other than user.ap_id
profile_urls
=
[
user
[
:
ap_id
]
]
profile_urls
=
[
user
.
ap_id
]
bio
|>
CommonUtils
.
format_input
(
"text/plain"
,
%{
|>
CommonUtils
.
format_input
(
"text/plain"
,
[
mentions_format:
:full
,
rel:
&
RelMe
.
maybe_put_rel_me
(
&1
,
profile_urls
)
}
)
]
)
|>
elem
(
0
)
|>
Formatter
.
emojify
(
emoji
)
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment