summaryrefslogtreecommitdiffstats
path: root/webapp/stores/post_store.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-31 15:37:50 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-31 15:37:50 -0400
commit3ccc0f814a55a4a44f7fa8ba2b319afa5c19af7f (patch)
tree9f784b84264738d50f1e7edcb403b689993adede /webapp/stores/post_store.jsx
parent36f611fac48536f26770357de8d5b6767bd46d2f (diff)
downloadchat-3ccc0f814a55a4a44f7fa8ba2b319afa5c19af7f.tar.gz
chat-3ccc0f814a55a4a44f7fa8ba2b319afa5c19af7f.tar.bz2
chat-3ccc0f814a55a4a44f7fa8ba2b319afa5c19af7f.zip
Fixing reply from permalinks
Diffstat (limited to 'webapp/stores/post_store.jsx')
-rw-r--r--webapp/stores/post_store.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/stores/post_store.jsx b/webapp/stores/post_store.jsx
index f328ca306..3f2f75796 100644
--- a/webapp/stores/post_store.jsx
+++ b/webapp/stores/post_store.jsx
@@ -96,7 +96,7 @@ class PostStoreClass extends EventEmitter {
let post = null;
if (posts.posts.hasOwnProperty(postId)) {
- post = Object.assign({}, posts.posts[postId]);
+ post = posts.posts[postId];
}
return post;
@@ -104,7 +104,7 @@ class PostStoreClass extends EventEmitter {
getAllPosts(id) {
if (this.postsInfo.hasOwnProperty(id)) {
- return Object.assign({}, this.postsInfo[id].postList);
+ return this.postsInfo[id].postList;
}
return null;