mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-25 04:02:03 -08:00
Remove unused function
This commit is contained in:
parent
12989bbd99
commit
54216cec4b
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user