summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-03-03 11:08:39 +0100
committerWim <wim@42.be>2018-03-03 11:08:39 +0100
commit79c4ad5015bd2be47b32141c6d53f0d128bf865b (patch)
treef69e2129e72082675f95e589fe45fde41ef52eec
parente24f1c7c879beb0703fdd91bf640283685f377d0 (diff)
downloadmatterbridge-msglm-79c4ad5015bd2be47b32141c6d53f0d128bf865b.tar.gz
matterbridge-msglm-79c4ad5015bd2be47b32141c6d53f0d128bf865b.tar.bz2
matterbridge-msglm-79c4ad5015bd2be47b32141c6d53f0d128bf865b.zip
Remove unused function
-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 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 {