diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2016-02-02 15:34:22 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2016-02-04 11:38:57 -0500 |
commit | fd123a6e4a7cfd19ff7ddc7141bc928c27e0a890 (patch) | |
tree | ce6220654a48475941b08b432a73eac50f7e772f /web/react/stores | |
parent | f8005744a26b7196f8b652e47bd7c094193dbb30 (diff) | |
download | chat-fd123a6e4a7cfd19ff7ddc7141bc928c27e0a890.tar.gz chat-fd123a6e4a7cfd19ff7ddc7141bc928c27e0a890.tar.bz2 chat-fd123a6e4a7cfd19ff7ddc7141bc928c27e0a890.zip |
Changed PostStore to not clear a deleted post's message
Diffstat (limited to 'web/react/stores')
-rw-r--r-- | web/react/stores/post_store.jsx | 4 |
1 files changed, 0 insertions, 4 deletions
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(); |