From 79c4ad5015bd2be47b32141c6d53f0d128bf865b Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 3 Mar 2018 11:08:39 +0100 Subject: Remove unused function --- bridge/slack/slack.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 9572548f..0d482a3a 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -330,6 +330,7 @@ func (b *Bslack) userName(id string) string { return "" } +/* func (b *Bslack) userGroupName(id string) string { for _, u := range b.Usergroups { if u.ID == id { @@ -338,6 +339,7 @@ func (b *Bslack) userGroupName(id string) string { } return "" } +*/ // @see https://api.slack.com/docs/message-formatting#linking_to_channels_and_users func (b *Bslack) replaceMention(text string) string { -- cgit v1.2.3