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:
Taylor Ho
2026-06-09 23:02:13 -07:00
committed by GitHub
parent e08937cdde
commit 3e56331e9c
21 changed files with 302 additions and 27 deletions

View File

@@ -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(