Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Zettat123 committed Feb 23, 2023
1 parent 081d240 commit 7ade2d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions services/markup/processorhelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import (
func ProcessorHelper() *markup.ProcessorHelper {
return &markup.ProcessorHelper{
IsUsernameMentionable: func(ctx context.Context, username string) bool {
if ctx == nil {
return false
}
mentionedUser, err := user.GetUserByName(ctx, username)
if err != nil {
return false
Expand Down

0 comments on commit 7ade2d9

Please sign in to comment.