mirror of
https://github.com/block/buzz.git
synced 2026-11-08 10:21:46 +00:00
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:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user