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 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() { func (r *Router) handleReceive() {
for msg := range r.Message { for msg := range r.Message {
if msg.Event == config.EVENT_FAILURE { if msg.Event == config.EVENT_FAILURE {