"system" dummy key leaks into resolved group names #61

Closed
opened 2026-04-19 10:51:54 +00:00 by zaelgohary · 0 comments
Member

Groups without an explicit name show system, Alice, Bob because every participant_keys list contains the server-side dummy self key "system" (see hero_osis_server/src/communication/server/rpc.rsconversation.participant_keys = vec![self_key, ...] with self_key = "system" until auth lands).

Fix: have resolve_chat_display_name skip "system" the same way it skips own_user_key. The built-in participant-resolution behaviour then renders Alice, Bob as expected.

Groups without an explicit name show `system, Alice, Bob` because every `participant_keys` list contains the server-side dummy self key `"system"` (see `hero_osis_server/src/communication/server/rpc.rs` — `conversation.participant_keys = vec![self_key, ...]` with `self_key = "system"` until auth lands). Fix: have `resolve_chat_display_name` skip `"system"` the same way it skips `own_user_key`. The built-in participant-resolution behaviour then renders `Alice, Bob` as expected.
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#61
No description provided.