feat: When a call is cleared from MSHV/WSJTx/JTDX it also clears the call field of OpsLog
This commit is contained in:
@@ -8887,6 +8887,12 @@ func (a *App) consumeUDPEvents() {
|
||||
"source": ev.Source,
|
||||
"adif": ev.LoggedADIF,
|
||||
})
|
||||
case ev.ClearCall:
|
||||
applog.Printf("udp: emit udp:clear_call (DX Call cleared in the digital app)\n")
|
||||
wruntime.EventsEmit(a.ctx, "udp:clear_call", map[string]any{
|
||||
"service": string(ev.Service),
|
||||
"source": ev.Source,
|
||||
})
|
||||
case ev.DXCall != "" && ev.Service == udp.ServiceRemoteCall:
|
||||
applog.Printf("udp: emit udp:remote_call %q\n", ev.DXCall)
|
||||
wruntime.EventsEmit(a.ctx, "udp:remote_call", ev.DXCall)
|
||||
|
||||
Reference in New Issue
Block a user