mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-21 18:22:00 -08:00
Cleanup debug messages
This commit is contained in:
parent
98ff59c716
commit
d02a737e0c
@ -91,6 +91,7 @@ func (b *Birc) Origin() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (b *Birc) Send(msg config.Message) error {
|
func (b *Birc) Send(msg config.Message) error {
|
||||||
|
flog.Debugf("Receiving %#v", msg)
|
||||||
if msg.FullOrigin == b.FullOrigin() {
|
if msg.FullOrigin == b.FullOrigin() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -105,7 +105,7 @@ func (gw *Gateway) handleMessage(msg config.Message, dest bridge.Bridge) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
gw.modifyMessage(&msg, dest)
|
gw.modifyMessage(&msg, dest)
|
||||||
log.Debugf("sending %#v from %s to %s", msg, msg.Origin, dest.Origin())
|
log.Debugf("Sending %#v from %s to %s", msg, msg.FullOrigin, dest.FullOrigin())
|
||||||
dest.Send(msg)
|
dest.Send(msg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user