<commit_before><div flex ng-controller="chatsController as chats">
  <md-subheader>Opened chats</md-subheader>

  <md-list flex class="chatlist">
      <md-list-item class="chatlist__item"
                    ng-repeat="chat in chats.list"
                    ng-class="{'chatlist__item--selected' : chat.peer.peer==main.actorService.currentPeer}"
                    ng-click="chats.selectChat(chat.peer.peer)">
        <div class="chatlist__avatar">
          <img class="md-avatar" ng-src="{{ chat.peer.avatar }}" alt="{{ chat.peer.title }}" ng-if="chat.peer.avatar" />
          <div class="no-avatar no-avatar--{{ chat.peer.placeholder }}" ng-if="!chat.peer.avatar">
            <span>{{ chat.peer.title | limitTo:1 }}</span>
          </div>
        </div>
        <div class="md-list-item-text chatlist__body" flex>
            <h3 layout="row" class="chatlist__body__title">
              <span flex >
                <md-icon md-svg-icon="assets/img/icons/ic_group_24px.svg"
                         ng-if="chat.peer.peer.type == 'group'"
                         class="chatlist__body__title__icon"></md-icon>
                {{ chat.peer.title }}
              </span>
              <time class="chatlist__body__title__timestamp">{{ chat.date }}</time>
            </h3>
            <p class="chatlist__body__message"  ng-if="chat.state != 'unknown'">
              <md-icon md-svg-icon="assets/img/icons/ic_access_time_24px.svg"
                       ng-if="chat.state == 'pending'"
                       class="chatlist__body__message__icon chatlist__body__message__icon--penging"></md-icon>
              <md-icon md-svg-icon="assets/img/icons/ic_done_24px.svg"
                       ng-if="chat.state == 'sent'"
                       class="chatlist__body__message__icon chatlist__body__message__icon--sent"></md-icon>
              <md-icon md-svg-icon="assets/img/icons/ic_done_all_24px.svg"
                       ng-if="chat.state == 'received'"
                       class="chatlist__body__message__icon chatlist__body__message__icon--received"></md-icon>
              <md-icon md-svg-icon="assets/img/icons/ic_done_all_24px.svg"
                       ng-if="chat.state == 'read'"<commit_msg>fix(web): fix current dialog highlight;<commit_after><div flex ng-controller="chatsController as chats">
  <md-subheader>Opened chats</md-subheader>

  <md-list flex class="chatlist">
      <md-list-item class="chatlist__item"
                    ng-repeat="chat in chats.list"
                    ng-class="{'chatlist__item--selected' : chat.peer.peer.id == main.actorService.currentPeer.id}"
                    ng-click="chats.selectChat(chat.peer.peer)">
        <div class="chatlist__avatar">
          <img class="md-avatar" ng-src="{{ chat.peer.avatar }}" alt="{{ chat.peer.title }}" ng-if="chat.peer.avatar" />
          <div class="no-avatar no-avatar--{{ chat.peer.placeholder }}" ng-if="!chat.peer.avatar">
            <span>{{ chat.peer.title | limitTo:1 }}</span>
          </div>
        </div>
        <div class="md-list-item-text chatlist__body" flex>
            <h3 layout="row" class="chatlist__body__title">
              <span flex >
                <md-icon md-svg-icon="assets/img/icons/ic_group_24px.svg"
                         ng-if="chat.peer.peer.type == 'group'"
                         class="chatlist__body__title__icon"></md-icon>
                {{ chat.peer.title }}
              </span>
              <time class="chatlist__body__title__timestamp">{{ chat.date }}</time>
            </h3>
            <p class="chatlist__body__message"  ng-if="chat.state != 'unknown'">
              <md-icon md-svg-icon="assets/img/icons/ic_access_time_24px.svg"
                       ng-if="chat.state == 'pending'"
                       class="chatlist__body__message__icon chatlist__body__message__icon--penging"></md-icon>
              <md-icon md-svg-icon="assets/img/icons/ic_done_24px.svg"
                       ng-if="chat.state == 'sent'"
                       class="chatlist__body__message__icon chatlist__body__message__icon--sent"></md-icon>
              <md-icon md-svg-icon="assets/img/icons/ic_done_all_24px.svg"
                       ng-if="chat.state == 'received'"
                       class="chatlist__body__message__icon chatlist__body__message__icon--received"></md-icon>
              <md-icon md-svg-icon="assets/img/icons/ic_done_all_24px.svg"
                       ng-if="chat.state == 'read'"
{'fraction_non_alphanumeric': 0.1511627906976744, 'fraction_numerical': 0.005813953488372093, 'mean_word_length': 2.044928522804629, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6633', 'n_tokens_mistral': 1399, 'n_tokens_neox': 1345, 'n_words': 174}