diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-01-30 11:49:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-30 11:49:00 -0500 |
commit | 39ee5737b7aa84833a1dc5b03c492b46e22209bd (patch) | |
tree | 61736473b9d62cd9aa9a4575198022b063711c55 /webapp/components/rhs_root_post.jsx | |
parent | 63d68b3e36c2deaaeb7174edc1950fab3752d887 (diff) | |
download | chat-39ee5737b7aa84833a1dc5b03c492b46e22209bd.tar.gz chat-39ee5737b7aa84833a1dc5b03c492b46e22209bd.tar.bz2 chat-39ee5737b7aa84833a1dc5b03c492b46e22209bd.zip |
PLT-2555/PLT-5009/PLT-5225 Changed system messages to be rendered by the client (#5209)
* Moved rendering of (message deleted) into PostMessageView
* Added additional post types to constants on client
* Changed system messages to be rendered in the client's language
* Updated new system messages to have relevant usernames highlighted and have markdown rendered in header change messages
Diffstat (limited to 'webapp/components/rhs_root_post.jsx')
-rw-r--r-- | webapp/components/rhs_root_post.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx index 7d00e2322..a114c7385 100644 --- a/webapp/components/rhs_root_post.jsx +++ b/webapp/components/rhs_root_post.jsx @@ -358,7 +358,6 @@ export default class RhsRootPost extends React.Component { } const profilePicContainer = (<div className='post__img'>{profilePic}</div>); - const messageWrapper = <PostMessageContainer post={post}/>; let flag; let flagFunc; @@ -445,7 +444,7 @@ export default class RhsRootPost extends React.Component { <div className='post__body'> <PostBodyAdditionalContent post={post} - message={messageWrapper} + message={<PostMessageContainer post={post}/>} previewCollapsed={this.props.previewCollapsed} /> {fileAttachment} |