5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-26 08:51:35 +00:00

Remove unused function

This commit is contained in:
Wim 2018-03-03 11:08:39 +01:00
parent e24f1c7c87
commit 79c4ad5015

View File

@ -330,6 +330,7 @@ func (b *Bslack) userName(id string) string {
return "" return ""
} }
/*
func (b *Bslack) userGroupName(id string) string { func (b *Bslack) userGroupName(id string) string {
for _, u := range b.Usergroups { for _, u := range b.Usergroups {
if u.ID == id { if u.ID == id {
@ -338,6 +339,7 @@ func (b *Bslack) userGroupName(id string) string {
} }
return "" return ""
} }
*/
// @see https://api.slack.com/docs/message-formatting#linking_to_channels_and_users // @see https://api.slack.com/docs/message-formatting#linking_to_channels_and_users
func (b *Bslack) replaceMention(text string) string { func (b *Bslack) replaceMention(text string) string {