diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-04-01 10:20:56 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-04-01 10:20:56 -0400 |
commit | d4442b002ee28085f7e8e53612fe0ee80606c8d5 (patch) | |
tree | 192010122dc06a466db168584c56505f9f75e07b /webapp | |
parent | 3aa240d74fe4137fcb0fa8038ede241a4e03b805 (diff) | |
parent | 3ccc0f814a55a4a44f7fa8ba2b319afa5c19af7f (diff) | |
download | chat-d4442b002ee28085f7e8e53612fe0ee80606c8d5.tar.gz chat-d4442b002ee28085f7e8e53612fe0ee80606c8d5.tar.bz2 chat-d4442b002ee28085f7e8e53612fe0ee80606c8d5.zip |
Merge pull request #2601 from mattermost/permalink-view-fix
PLT-2382 Fixing reply from permalinks
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/stores/post_store.jsx | 4 |
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; |