Reduce too long conversation names.

This commit is contained in:
Pierre HUBERT 2018-08-16 12:37:03 +02:00
parent 8eadb03d59
commit ee2689ad84

View File

@ -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);