diff options
Diffstat (limited to 'gateway')
-rw-r--r-- | gateway/router.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gateway/router.go b/gateway/router.go index eb8251ed..167e2057 100644 --- a/gateway/router.go +++ b/gateway/router.go @@ -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 { |