Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit a82fc7c807215d4b7daee20d2ee91105cda2bb31 Author: Wim <wim@42.be> Date: Sun Jul 30 16:12:33 2017 +0000 Remove unused function diff --git a/gateway/router.go b/gateway/router.go index eb8251e..167e205 100644 --- a/gateway/router.go +++ b/gateway/router.go @@ -7016 +706 @@ 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 {