### What problem does this PR solve? Fix: Rename chat name, missing field 'avatar' #4125 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.15.1
| @@ -340,6 +340,7 @@ export const useUpdateNextConversation = () => { | |||
| }); | |||
| if (data.code === 0) { | |||
| queryClient.invalidateQueries({ queryKey: ['fetchConversationList'] }); | |||
| message.success(i18n.t(`message.modified`)); | |||
| } | |||
| return data; | |||
| }, | |||
| @@ -535,7 +535,6 @@ export const useRenameConversation = () => { | |||
| const onConversationRenameOk = useCallback( | |||
| async (name: string) => { | |||
| const ret = await updateConversation({ | |||
| ...conversation, | |||
| conversation_id: conversation.id, | |||
| name, | |||
| is_new: false, | |||