mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-22 02:32:02 -08:00
Remove unused function
This commit is contained in:
parent
e24f1c7c87
commit
79c4ad5015
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user