mirror of
https://github.com/block/buzz.git
synced 2026-11-05 17:01:35 +00:00
fix(delete): make agent-deleted messages disappear from desktop UI immediately (#918)
Signed-off-by: Taylor Ho <taylorkmho@gmail.com> Co-authored-by: Bart <bart@sprout.local>
This commit is contained in:
@@ -785,8 +785,11 @@ export async function editMessage(
|
||||
});
|
||||
}
|
||||
|
||||
export async function deleteMessage(eventId: string): Promise<void> {
|
||||
await invokeTauri("delete_message", { eventId });
|
||||
export async function deleteMessage(
|
||||
channelId: string,
|
||||
eventId: string,
|
||||
): Promise<void> {
|
||||
await invokeTauri("delete_message", { channelId, eventId });
|
||||
}
|
||||
|
||||
export async function addReaction(
|
||||
|
||||
Reference in New Issue
Block a user