summaryrefslogtreecommitdiffstats
path: root/bridge/slack
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-07-13 23:28:23 +0200
committerWim <wim@42.be>2018-07-13 23:28:23 +0200
commit618953c8650237f4f8540d38b02690549ef62d39 (patch)
tree4674c7b25f7766ee3ac57fdc933ea85b26394a8b /bridge/slack
parente04dd78624e88993e6ac6f426c85d8e1a3a7ca70 (diff)
downloadmatterbridge-msglm-618953c8650237f4f8540d38b02690549ef62d39.tar.gz
matterbridge-msglm-618953c8650237f4f8540d38b02690549ef62d39.tar.bz2
matterbridge-msglm-618953c8650237f4f8540d38b02690549ef62d39.zip
Remove ununsed function (slack)
Diffstat (limited to 'bridge/slack')
-rw-r--r--bridge/slack/slack.go2
1 files changed, 2 insertions, 0 deletions
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 {