parent
7794ff0874
commit
8fa3925874
6 changed files with 11 additions and 10 deletions
|
@ -20,8 +20,8 @@ func ProcessorHelper() *markup.RenderHelperFuncs {
|
|||
return false
|
||||
}
|
||||
|
||||
giteaCtx, ok := ctx.(*gitea_context.Context)
|
||||
if !ok {
|
||||
giteaCtx := gitea_context.GetWebContext(ctx)
|
||||
if giteaCtx == nil {
|
||||
// when using general context, use user's visibility to check
|
||||
return mentionedUser.Visibility.IsPublic()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue