Use participant_url for rendering mentions

This commit is contained in:
Drew DeVault 2019-08-24 10:57:35 +09:00
parent 59d69f482d
commit fb5d547071
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def render_markup(tracker, text):
# TODO: Handle mentions for non-user participants
username = match.group(0)
if username in users_map:
url = urls.user_url(users_map[username])
url = urls.participant_url(users_map[username])
return f'<a href="{url}">{escape(username)}</a>'
return username