chat detail header shows "New Chat" for just-created groups #65

Closed
opened 2026-04-19 11:02:12 +00:00 by zaelgohary · 0 comments
Member

handle_create sets Route::Chat { sid, name } using the server's raw conversation name (conv.name = "New Chat" for an unnamed group). The chat-load effect then uses that raw value and bypasses the name resolver, so the detail header shows "New Chat" while the left rail correctly shows the resolved participant list.

Fix: pass an empty string for the route's name on create so the chat-load effect falls through to resolve_chat_display_name.

`handle_create` sets `Route::Chat { sid, name }` using the server's raw conversation name (`conv.name` = "New Chat" for an unnamed group). The chat-load effect then uses that raw value and bypasses the name resolver, so the detail header shows "New Chat" while the left rail correctly shows the resolved participant list. Fix: pass an empty string for the route's `name` on create so the chat-load effect falls through to `resolve_chat_display_name`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_archipelagos#65
No description provided.