支持一键已读
This commit is contained in:
1 parent
fd0db6e306
commit
c09128b83e
8 files changed
+110
No files matched your search
@@ -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