mirror of https://github.com/velour/catbase.git
slack: remove @ when parsing a name
This commit is contained in:
parent
b94b249fc5
commit
86ba01e2f7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue