mirror of
https://github.com/JS8Call-improved/JS8Call-improved
synced 2026-08-13 17:47:36 -04:00
Fix duplicate callsign in TCP API RX.DIRECTED messages
The value field in RX.DIRECTED messages was using the formatted 'text' variable which includes the FROM callsign prefix. When TCP clients reconstruct messages as "FROM: value", this resulted in duplicate callsigns (e.g., "W9TEK: W9TEK: KC1QKM SNR -05"). Changed the value parameter from 'text' to 'd.text' (the raw message body without FROM prefix) to match the TEXT parameter behavior. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
444b21bdcf
commit
246621c992
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ void UI_Constructor::processCommandActivity() {
|
|||
// write all directed messages to api
|
||||
if (canSendNetworkMessage()) {
|
||||
sendNetworkMessage(
|
||||
"RX.DIRECTED", text,
|
||||
"RX.DIRECTED", d.text,
|
||||
{{"_ID", QVariant(-1)},
|
||||
{"FROM", QVariant(d.from)},
|
||||
{"TO", QVariant(d.to)},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue