diff options
Diffstat (limited to 'webapp/components/rhs_root_post.jsx')
-rw-r--r-- | webapp/components/rhs_root_post.jsx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx index 02fc4fc59..051d68f34 100644 --- a/webapp/components/rhs_root_post.jsx +++ b/webapp/components/rhs_root_post.jsx @@ -6,11 +6,13 @@ import UserProfile from './user_profile.jsx'; import UserStore from 'stores/user_store.jsx'; import TeamStore from 'stores/team_store.jsx'; import * as TextFormatting from 'utils/text_formatting.jsx'; -import * as Utils from 'utils/utils.jsx'; import FileAttachmentList from './file_attachment_list.jsx'; -import PostBodyAdditionalContent from './post_body_additional_content.jsx'; +import PostBodyAdditionalContent from 'components/post_view/components/post_body_additional_content.jsx'; import * as GlobalActions from 'actions/global_actions.jsx'; +import * as Utils from 'utils/utils.jsx'; +import * as PostUtils from 'utils/post_utils.jsx'; + import Constants from 'utils/constants.jsx'; import {FormattedMessage, FormattedDate} from 'react-intl'; @@ -56,7 +58,7 @@ export default class RhsRootPost extends React.Component { } var systemMessageClass = ''; - if (Utils.isSystemMessage(post)) { + if (PostUtils.isSystemMessage(post)) { systemMessageClass = 'post--system'; } @@ -188,7 +190,7 @@ export default class RhsRootPost extends React.Component { } botIndicator = <li className='col col__name bot-indicator'>{'BOT'}</li>; - } else if (Utils.isSystemMessage(post)) { + } else if (PostUtils.isSystemMessage(post)) { userProfile = ( <UserProfile user={{}} @@ -202,7 +204,7 @@ export default class RhsRootPost extends React.Component { const profilePic = ( <img className='post-profile-img' - src={Utils.getProfilePicSrcForPost(post, timestamp)} + src={PostUtils.getProfilePicSrcForPost(post, timestamp)} height='36' width='36' /> |