From 86ba01e2f7dd5d92986e11cfe7aea36dfd912be1 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Tue, 24 Oct 2017 15:56:05 -0400 Subject: [PATCH] slack: remove @ when parsing a name --- slack/fix_text.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slack/fix_text.go b/slack/fix_text.go index c63a483..28a8c1e 100644 --- a/slack/fix_text.go +++ b/slack/fix_text.go @@ -56,7 +56,7 @@ func fixTag(findUser func(string) (string, bool), tag []rune) ([]rune, bool) { } if findUser != nil { if u, ok := findUser(string(tag[1:])); ok { - return []rune("@" + u), true + return []rune(u), true } } return tag, true