diff --git a/assets/js/components/conversations/chatWindows.js b/assets/js/components/conversations/chatWindows.js index 7b71435b..6382c024 100644 --- a/assets/js/components/conversations/chatWindows.js +++ b/assets/js/components/conversations/chatWindows.js @@ -385,6 +385,10 @@ ComunicWeb.components.conversations.chatWindows = { */ changeName: function(newName, infos){ + //Reduce new name + if(newName.length > 18) + newName = newName.slice(0, 17) + "..."; + //Empty name field emptyElem(infos.boxTitle);