messaging: after page reload, all bubbles render as bubble-other (post-reload regression of #62) #192
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Post-reload regression of #62 (closed). The optimistic-send patch added in
archipelago.rs:293-296only forcesis_own = trueon the just-sent message; after F5 every message in the thread (including ones the user just sent) renders left-aligned asbubble-other— there is no visual signal of which side of the conversation you are on.This was acknowledged as a known limitation in the original #62 body ("subsequent full refetches will still show the server-stamped sender") but was closed without follow-up. Filing this as a separate ticket so it stays on the radar.
Repro
/space/default/messaging, create DM with QA Tester.DevTools confirms:
Root cause (per the code itself)
The patch only runs in
handle_send. Reloading dropsactive_messagesand refetches from the server — every historical message comes back withsender_public_key = "system"and the patch is gone.Suggested fix (any one)
own_user_keyper context (so refetch can match), ORsender_public_key == SYSTEM_KEYasis_own = truewhenever own_user_key is empty/system, ORsender_public_keywith theX-Hero-Contextvalue (depends on the cross-context fix — see hero_osis #40).Related
Found via QA session 2026-04-29 (
qa/messaging_2026-04-29/FINDINGS.md).