slack: remove @ when parsing a name

This commit is contained in:
Chris Sexton 2017-10-24 15:56:05 -04:00
parent b94b249fc5
commit 86ba01e2f7
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func fixTag(findUser func(string) (string, bool), tag []rune) ([]rune, bool) {
} }
if findUser != nil { if findUser != nil {
if u, ok := findUser(string(tag[1:])); ok { if u, ok := findUser(string(tag[1:])); ok {
return []rune("@" + u), true return []rune(u), true
} }
} }
return tag, true return tag, true