mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 11:44:19 +00:00 
			
		
		
		
	Fix issue when renaming conversation
This commit is contained in:
		@@ -736,7 +736,7 @@ const ConvChatWindow = {
 | 
			
		||||
		if(conversation.infos.members.find(m => m.user_id == userID()).is_admin){
 | 
			
		||||
			//Specify conversation name
 | 
			
		||||
			let nameValue = conversation.settingsForm.conversationNameInput.value
 | 
			
		||||
			newValues.name = (nameValue === "" ? false : nameValue);
 | 
			
		||||
			newValues.name = (nameValue === "" ? null : nameValue);
 | 
			
		||||
 | 
			
		||||
			let colorValue = conversation.settingsForm.conversationColorInput.value
 | 
			
		||||
			newValues.color = (colorValue == "" ? null : colorValue)
 | 
			
		||||
 
 | 
			
		||||
@@ -122,7 +122,7 @@ const ConversationsInterface = {
 | 
			
		||||
 | 
			
		||||
		//Add conversation name (if specified)
 | 
			
		||||
		if(infos.name !== undefined)
 | 
			
		||||
			params.name = infos.name;
 | 
			
		||||
			params.name = infos.name == null ? "" : infos.name;
 | 
			
		||||
		
 | 
			
		||||
		//Add conversation following status (if specified)
 | 
			
		||||
		if(infos.following !== undefined)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user