mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Reduce too long conversation names.
This commit is contained in:
		@@ -385,6 +385,10 @@ ComunicWeb.components.conversations.chatWindows = {
 | 
				
			|||||||
	 */
 | 
						 */
 | 
				
			||||||
	changeName: function(newName, infos){
 | 
						changeName: function(newName, infos){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							//Reduce new name
 | 
				
			||||||
 | 
							if(newName.length > 18)
 | 
				
			||||||
 | 
								newName = newName.slice(0, 17) + "...";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		//Empty name field
 | 
							//Empty name field
 | 
				
			||||||
		emptyElem(infos.boxTitle);
 | 
							emptyElem(infos.boxTitle);
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user