hunk.code_window:             postIds = chunk.order;
               atLatestPost = Boolean(chunk.recent);
               atOldestPost = Boolean(chunk.oldest);
           }
           const shouldHideNewMessageIndicator = shouldStartFromBottomWhenUnread && !isPostsChunkIncludingUnreadsPosts(state, chunk!, unreadChunkTimeStamp);
           if (postIds) {
               formattedPostIds = preparePostIdsForPostList(state, {postIds, lastViewedAt, indicateNewMessages: !shouldHideNewMessageIndicator});
               if (postIds.length) {
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:         let shouldHideNewMessageIndicator = false;
           if (unreadChunkTimeStamp != null) {
               shouldHideNewMessageIndicator = shouldStartFromBottomWhenUnread && !isPostsChunkIncludingUnreadsPosts(state, chunk!, unreadChunkTimeStamp);
           }
  
hunk.file_path: webapp/channels/src/components/post_view/post_list/index.tsx
hunk.type: replace
file: // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
  // See LICENSE.txt for license information.
  
  const fs = require('fs');
  
  const pdf = require('pdf-parse');
  
  /**
   * Checks whether a file exist in the tests/downloads folder and return the content of it.
   * @param {string} filePath - pdf file path
   */
  module.exports = async (filePath) => {
      const dataBuffer = fs.readFileSync(filePath);
      const data = await pdf(dataBuffer);
      return data;
  };
  