mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-28 19:31:36 +00: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 {
|
||||
flog.Debugf("Receiving %#v", msg)
|
||||
if msg.FullOrigin == b.FullOrigin() {
|
||||
return nil
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ func (gw *Gateway) handleMessage(msg config.Message, dest bridge.Bridge) {
|
||||
return
|
||||
}
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user