新增转账消息的解析

This commit is contained in:
xuncha
2026-02-06 18:25:48 +08:00
committed by xuncha
parent 9cb0ada1b7
commit a54c95b6ac
8 changed files with 134 additions and 21 deletions

View File

@@ -864,6 +864,10 @@ function registerIpcHandlers() {
return await chatService.getContactAvatar(username)
})
ipcMain.handle('chat:resolveTransferDisplayNames', async (_, chatroomId: string, payerUsername: string, receiverUsername: string) => {
return await chatService.resolveTransferDisplayNames(chatroomId, payerUsername, receiverUsername)
})
ipcMain.handle('chat:getContacts', async () => {
return await chatService.getContacts()
})