mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02: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:
co-authored by
Claude Opus 4.6
parent
0f5f306364
commit
be83699559
@@ -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