proof-of-concept worked. rolling into main

This commit is contained in:
cottongin
2025-10-31 20:38:38 -04:00
parent 020daea391
commit c63c29efc9
5 changed files with 855 additions and 2 deletions

View File

@@ -169,12 +169,12 @@ func (b *Bkosmi) handleIncomingMessage(payload *NewMessagePayload) {
// Send to Matterbridge
b.Log.Debugf("Forwarding to Matterbridge channel=%s account=%s: %s", rmsg.Channel, rmsg.Account, rmsg.Text)
if b.Remote == nil {
b.Log.Error("Remote channel is nil! Cannot forward message")
return
}
b.Remote <- rmsg
}