Skip to content

Commit 7ade2d9

Browse files
committed
remove unused code
1 parent 081d240 commit 7ade2d9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

services/markup/processorhelper.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ import (
1414
func ProcessorHelper() *markup.ProcessorHelper {
1515
return &markup.ProcessorHelper{
1616
IsUsernameMentionable: func(ctx context.Context, username string) bool {
17-
if ctx == nil {
18-
return false
19-
}
2017
mentionedUser, err := user.GetUserByName(ctx, username)
2118
if err != nil {
2219
return false

0 commit comments

Comments
 (0)