Skip to content

feat: expose group name and description through the threaded client#183

Merged
osmaczko merged 1 commit into
mainfrom
feat/client-group-metadata
Jul 16, 2026
Merged

feat: expose group name and description through the threaded client#183
osmaczko merged 1 commit into
mainfrom
feat/client-group-metadata

Conversation

@osmaczko

Copy link
Copy Markdown
Contributor

A GroupV2 conversation carries a shared name and description in its MLS group context, set at creation and delivered to every joiner in the welcome. The threaded client could create groups but neither set that metadata nor read it back, leaving both fields unreachable through the client API.

create_group_conversation now takes name and desc and creates the group with them via create_group_convo_v2; either may be empty for an unnamed group. A new group_metadata getter reads a group's metadata back, erroring for a direct conversation or a legacy group that carries none. ConvoMetadata is re-exported from the crate root and from logos-generic-chat so callers can name the returned type.

Comment thread crates/generic-chat/src/client.rs Outdated
@osmaczko
osmaczko force-pushed the feat/client-group-metadata branch 2 times, most recently from 76cd1cd to 81f8864 Compare July 16, 2026 16:41
Comment thread core/conversations/src/types.rs Outdated
Comment thread crates/generic-chat/src/client.rs Outdated
A GroupV2 conversation carries a shared name and description in its MLS group context, set at creation and delivered to every joiner in the welcome. The threaded client could create groups but neither set that metadata nor read it back, leaving both fields unreachable through the client API.

create_group_conversation now takes a GroupMetadata and creates the group with its name and description via create_group_convo_v2; both fields may be empty for an unnamed group. A new group_metadata getter reads a group's metadata back, erroring for a direct conversation or a legacy group that carries none. GroupMetadata is a distinct input type, kept separate from the ConvoMetadata a conversation reports back so the two can evolve independently; both are re-exported from the crate root and from logos-generic-chat.
@osmaczko
osmaczko force-pushed the feat/client-group-metadata branch from 81f8864 to c73a443 Compare July 16, 2026 18:45
@osmaczko
osmaczko merged commit 0c51d4d into main Jul 16, 2026
5 checks passed
@osmaczko
osmaczko deleted the feat/client-group-metadata branch July 16, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants