Skip to content
代码片段 群组 项目
提交 d789d73f 编辑于 作者: Heinrich Lee Yu's avatar Heinrich Lee Yu 提交者: Douglas Barbosa Alexandre
浏览文件

Pass current_user when rendering Markdown in email

When rendering Markdown in notification emails, we pass in the recipient
as current_user in the rendering context so that private references
visible to that user are rendered.

Without this change, only public references are rendered.

This also passes the issuable_reference_expansion_enabled option so that
it is rendered similar to how it is in the web UI.

Changelog: fixed
上级 9aadeffd
No related branches found
No related tags found
无相关合并请求
显示
86 个添加63 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册