diff options
| author | elioat <elioat@tilde.institute> | 2025-11-15 20:44:37 -0500 |
|---|---|---|
| committer | elioat <elioat@tilde.institute> | 2025-11-15 20:44:37 -0500 |
| commit | 42be94d2b24ce91bf6baf43407dd1fd2bb0b60cf (patch) | |
| tree | e0557d5727ab0c5b5b638e4d24de78efde517dac /bash | |
| parent | f0dce4b348acea832f1059e0e0654320cae3e026 (diff) | |
| download | tour-42be94d2b24ce91bf6baf43407dd1fd2bb0b60cf.tar.gz | |
Fix duplicate message display by tracking local vs forwarded messages
Add an is_local flag to Broadcast messages to distinguish between messages
originating from local input vs those forwarded from peers. When a message
originates locally, we don't display it again (avoiding echo), but when it
comes from a peer, we display it to the user. This prevents the duplicate
message issue where both the terminal echo and the registry display were
showing the user's own messages.
Diffstat (limited to 'bash')
0 files changed, 0 insertions, 0 deletions