mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-27 15:49:23 +00:00
Update vendor (slack)
This commit is contained in:
10
vendor/github.com/nlopes/slack/info.go
generated
vendored
10
vendor/github.com/nlopes/slack/info.go
generated
vendored
@ -198,3 +198,13 @@ func (info Info) GetGroupByID(groupID string) *Group {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// GetIMByID returns an IM given an IM id
|
||||
func (info Info) GetIMByID(imID string) *IM {
|
||||
for _, im := range info.IMs {
|
||||
if im.ID == imID {
|
||||
return &im
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user