Selaa lähdekoodia
			
			Fix: Rename chat name, missing field 'avatar' #4125 (#4221)
			
				
### 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
		 
		
			
				
					
						 balibabu
					
					10 kuukautta sitten
						balibabu
					
					10 kuukautta sitten
				 
				
					
						
							
								vanhempi
							
							
						
						
						commit
						61790ebe15
					 
				 
			 
		 
		
			
				
				  
				  No account linked to committer's email address
				
			
		
		
		
	
	
		
			
				
				
					
						
						
							
								
									
										
											
	
		
			
			|  |  | @@ -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, |