docs: function getDialogIcon (dialogType) {
    var groupPhoto = '<img src="images/ava-group.svg" width="30" height="30" class="round">';
    var privatPhoto  = '<img src="images/ava-single.svg" width="30" height="30" class="round">';
    var defaultPhoto = '<span class="glyphicon glyphicon-eye-close"></span>';
  
    var dialogIcon;
    switch (dialogType) {
      case 1:
        dialogIcon = groupPhoto;
        break;
      case 2:
        dialogIcon = groupPhoto;
        break;
      case 3:
      	dialogIcon = privatPhoto;
        break;
      default:
        dialogIcon = defaultPhoto;
        break;
    }
    return dialogIcon;
  }