feat: Delete message by id #2088 (#2155)

### What problem does this PR solve?

feat: Delete message by id #2088

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-29 14:32:04 +08:00
committed by GitHub
parent f87e7242cd
commit f8a479bf88
7 changed files with 84 additions and 9 deletions

View File

@ -314,6 +314,10 @@ export const useDeleteMessage = () => {
conversationId,
});
if (data.retcode === 0) {
message.success(i18n.t(`message.deleted`));
}
return data.retcode;
},
});