From 8fa7a4251a671ebe7056fe77df246e0f9e061a5b Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Tue, 18 Aug 2015 12:08:53 -0400
Subject: Fix a bad merge that had edited posts being handled sloppily.

---
 web/react/components/post_list.jsx | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'web/react/components/post_list.jsx')

diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index c210853ac..bebd6847f 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -196,12 +196,6 @@ module.exports = React.createClass({
         if (msg.action === 'posted') {
             post = JSON.parse(msg.props.post);
             PostStore.storePost(post);
-        } else if (msg.action === 'post_edited') {
-            if (this.state.channel.id === msg.channel_id) {
-                this.setState({postList: postList});
-            }
-
-            PostStore.storePosts(post.channel_id, postList);
         } else if (msg.action === 'post_edited') {
             if (this.state.channel.id === msg.channel_id) {
                 postList = this.state.postList;
-- 
cgit v1.2.3-1-g7c22

