From fd123a6e4a7cfd19ff7ddc7141bc928c27e0a890 Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Tue, 2 Feb 2016 15:34:22 -0500
Subject: Changed PostStore to not clear a deleted post's message

---
 web/react/stores/post_store.jsx | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'web/react/stores/post_store.jsx')

diff --git a/web/react/stores/post_store.jsx b/web/react/stores/post_store.jsx
index 93e565403..a504fef89 100644
--- a/web/react/stores/post_store.jsx
+++ b/web/react/stores/post_store.jsx
@@ -341,7 +341,6 @@ class PostStoreClass extends EventEmitter {
         if (post.id in postList.posts) {
             // make sure to copy the post so that component state changes work properly
             postList.posts[post.id] = Object.assign({}, post, {
-                message: this.delete_message, // TODO
                 state: Constants.POST_DELETED,
                 filenames: [],
                 ephemeral: true
@@ -534,9 +533,6 @@ class PostStoreClass extends EventEmitter {
 
         return commentCount;
     }
-    deleteMessage(msg) {
-        this.delete_message = msg;
-    }
 }
 
 var PostStore = new PostStoreClass();
-- 
cgit v1.2.3-1-g7c22

