5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-10 04:20:25 +00:00

Remove unused function

This commit is contained in:
Wim 2017-07-30 16:12:33 +02:00
parent 12989bbd99
commit 54216cec4b

View File

@ -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 {