fix(udp): forward WSJT/JTDX/MSHV-logged QSOs to the outbound ADIF integrations
autoLogFromUDP (the inbound WSJT-X/JTDX/MSHV log path) inserted the QSO but, unlike the manual LogQSO path, never called a.udp.EmitLoggedADIF — so a QSO received from MSHV was not re-emitted to the outbound ADIF listeners (Log4OM, N1MM, GridTracker…). Emit it in the same async goroutine. A pathological self-loop is broken by the existing ±2-min dedup, which returns before the emit.
This commit is contained in:
@@ -11583,6 +11583,12 @@ func (a *App) LogUDPLoggedADIF(adifText string) (int64, error) {
|
||||
a.extsvc.OnQSOLogged(id)
|
||||
}
|
||||
a.maybeAutoSendEQSL(qc)
|
||||
// Forward to the outbound UDP integrations, exactly like the manual log
|
||||
// path — otherwise a QSO logged FROM WSJT-X/JTDX/MSHV was never re-emitted
|
||||
// to the outbound ADIF listeners (Log4OM, N1MM, gridtracker…).
|
||||
if a.udp != nil {
|
||||
a.udp.EmitLoggedADIF(adif.SingleRecordADIF(qc))
|
||||
}
|
||||
if a.ctx != nil {
|
||||
wruntime.EventsEmit(a.ctx, "qso:logged", id) // refresh again so award_refs show
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user