mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-01 23:08:19 +00:00
BaseChatMesh::sendGroupMessage wraps the body as "<sender_name>: <body>" before transmitting (the receiver's onChannelMessageRecv sees the full "USER: MSG" string, which CompanionMesh queues as-is for the phone). queueLocalSentChannelMessage was queuing just the raw body, so the phone parsed an empty sender and lost the body. Prepend "<prefs.node_name>: " to mirror the wire format. joystick UI: prefix DM mirrors to phone with sent-marker DM offline-queue frames identify the sender by pubkey field, not by in-text prefix. queueLocalSentContactMessage was queuing with the contact's pubkey + raw body, so the phone app rendered wio-originated DMs identically to incoming ones from that contact. Prepend "(>>) " to the body so sent messages are visually distinguishable; matches the joystick UI's own sent indicator (UnreadScreen::addPreview).