mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-12-24 18:25:40 +00:00
Remove unused function
This commit is contained in:
parent
12989bbd99
commit
54216cec4b
@ -70,16 +70,6 @@ func (r *Router) getBridge(account string) *bridge.Bridge {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *Router) getGatewayName(channelID string) []string {
|
||||
var names []string
|
||||
for _, gw := range r.Gateways {
|
||||
if _, ok := gw.Channels[channelID]; ok {
|
||||
names = append(names, gw.Name)
|
||||
}
|
||||
}
|
||||
return names
|
||||
}
|
||||
|
||||
func (r *Router) handleReceive() {
|
||||
for msg := range r.Message {
|
||||
if msg.Event == config.EVENT_FAILURE {
|
||||
|
Loading…
Reference in New Issue
Block a user