优化防撤回会话列表

This commit is contained in:
cc
2026-04-25 19:22:35 +08:00
parent fc3356ece2
commit 8e2a6ec933
6 changed files with 246 additions and 16 deletions

View File

@@ -271,6 +271,7 @@ export interface ElectronAPI {
chat: {
connect: () => Promise<{ success: boolean; error?: string }>
getSessions: () => Promise<{ success: boolean; sessions?: ChatSession[]; error?: string }>
getAntiRevokeSessions: () => Promise<{ success: boolean; sessions?: ChatSession[]; error?: string }>
getSessionStatuses: (usernames: string[]) => Promise<{
success: boolean
map?: Record<string, { isFolded?: boolean; isMuted?: boolean }>