mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-05-06 07:26:48 +00:00
支持一键已读
This commit is contained in:
@@ -2253,6 +2253,10 @@ function registerIpcHandlers() {
|
||||
return chatService.getSessions()
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:markAllSessionsRead', async () => {
|
||||
return chatService.markAllSessionsRead()
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:getSessionStatuses', async (_, usernames: string[]) => {
|
||||
return chatService.getSessionStatuses(usernames)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user