From 618953c8650237f4f8540d38b02690549ef62d39 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 13 Jul 2018 23:28:23 +0200 Subject: Remove ununsed function (slack) --- bridge/slack/slack.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index d40c4183..f2428005 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -235,6 +235,7 @@ func (b *Bslack) getAvatar(user string) string { return avatar } +/* func (b *Bslack) getChannelByName(name string) (*slack.Channel, error) { if b.channels == nil { return nil, fmt.Errorf("%s: channel %s not found (no channels found)", b.Account, name) @@ -246,6 +247,7 @@ func (b *Bslack) getChannelByName(name string) (*slack.Channel, error) { } return nil, fmt.Errorf("%s: channel %s not found", b.Account, name) } +*/ func (b *Bslack) getChannelByID(ID string) (*slack.Channel, error) { if b.channels == nil { -- cgit v1.2.3