mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-10-31 18:24:27 +00:00 
			
		
		
		
	Fix the way conversations are created
This commit is contained in:
		| @@ -78,7 +78,7 @@ const ConversationsInterface = { | ||||
| 		//Prepare an API request | ||||
| 		var apiURI = "conversations/create"; | ||||
| 		var params = { | ||||
| 			name: infos.conversationName, | ||||
| 			name: infos.conversationName == null ? "" : infos.conversationName, | ||||
| 			follow : infos.follow, | ||||
| 			users: infos.users, | ||||
| 			color: infos.color == null ? "" : infos.color.replace("#", "").toUpperCase(), | ||||
|   | ||||
| @@ -123,7 +123,7 @@ const ConversationsList = { | ||||
| 		var conversationInformations = { | ||||
| 			users: selectedUsers, | ||||
| 			follow: infos.followConversationInput.checked, | ||||
| 			conversationName: (infos.conversationNameInput.value == "" ? false : infos.conversationNameInput.value), | ||||
| 			conversationName: (infos.conversationNameInput.value == "" ? null : infos.conversationNameInput.value), | ||||
| 			color: infos.conversationColorInput.value == "" ? null : infos.conversationColorInput.value, | ||||
| 			allowEveryoneToAddMembersInput: infos.allowEveryoneToAddMembersInput.checked, | ||||
| 		}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user