Skip to content

Group Management

  • File: src/features/contacts/partials/GroupManagement.svelte (+ GroupManagementShimmer.svelte)

Overview

Full contact-group panel: rename, delete/leave, and the participant list, plus start-call/message actions. Loads group details from the server and runs group commands.

Module Functions

ts
export async function getGroupById(groupId): Promise<...>
export async function getGroupDetails(groupId): Promise<...>
export async function renameGroup(command): Promise<...>
export async function leaveGroup(groupId): Promise<...>
export async function deleteGroup(groupId): Promise<...>

Behavior

  • Owner identity (isOwner) gates rename/delete/edit controls.
  • Leave and delete confirm via AlertDialog (cai kit).

Released under the MIT License.