diff options
author | Wim <wim@42.be> | 2017-07-30 16:12:33 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-07-30 16:12:33 +0200 |
commit | 54216cec4b4f2023306e378587b1ac55dc720968 (patch) | |
tree | e6221e8d34385adefb72c02829fbf76b14386fcb | |
parent | 12989bbd99768facafe5d77dec98ff2908502499 (diff) | |
download | matterbridge-msglm-54216cec4b4f2023306e378587b1ac55dc720968.tar.gz matterbridge-msglm-54216cec4b4f2023306e378587b1ac55dc720968.tar.bz2 matterbridge-msglm-54216cec4b4f2023306e378587b1ac55dc720968.zip |
Remove unused function
-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 { |