feat: add change member role in channel sidebar (#313)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
rbrackney-sq
2026-04-14 08:14:36 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 0f5f306364
commit be83699559
5 changed files with 121 additions and 15 deletions
+8
View File
@@ -615,6 +615,14 @@ export async function removeChannelMember(
await invokeTauri("remove_channel_member", { channelId, pubkey });
}
export async function changeChannelMemberRole(
channelId: string,
pubkey: string,
role: string,
): Promise<void> {
await invokeTauri("change_channel_member_role", { channelId, pubkey, role });
}
export async function joinChannel(channelId: string): Promise<void> {
await invokeTauri("join_channel", { channelId });
}