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