diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-03-10 05:19:07 -0500 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-03-10 10:19:07 +0000 |
commit | 89d0087ea486a24d2866a08cff85f4abe7b477a0 (patch) | |
tree | 33f115a4a5a663449b69e92fa96dfcd187c89008 /webapp | |
parent | a8e68bd8905972ae59de90fa33d5b3e3c274dc47 (diff) | |
download | chat-89d0087ea486a24d2866a08cff85f4abe7b477a0.tar.gz chat-89d0087ea486a24d2866a08cff85f4abe7b477a0.tar.bz2 chat-89d0087ea486a24d2866a08cff85f4abe7b477a0.zip |
PLT-5792 Fixed all ephemeral posts using system message icons (#5709)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/post_view/components/post.jsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/webapp/components/post_view/components/post.jsx b/webapp/components/post_view/components/post.jsx index 913c2af95..fba4ce9eb 100644 --- a/webapp/components/post_view/components/post.jsx +++ b/webapp/components/post_view/components/post.jsx @@ -204,9 +204,7 @@ export default class Post extends React.Component { src={PostUtils.getProfilePicSrcForPost(post, timestamp)} /> ); - } - - if (PostUtils.isSystemMessage(post)) { + } else if (PostUtils.isSystemMessage(post)) { profilePic = ( <span className='icon' |