summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-08-29 13:13:03 -0400
committerGitHub <noreply@github.com>2017-08-29 13:13:03 -0400
commit59798c137584a0b7e008ec713b489929dd83a690 (patch)
tree94ce9087aac886c06c03eb6b154e08e771fc350e /webapp/components/post_view
parentf1d1ce4e7e7e76507561ab2aebb3e198b8c961e8 (diff)
downloadchat-59798c137584a0b7e008ec713b489929dd83a690.tar.gz
chat-59798c137584a0b7e008ec713b489929dd83a690.tar.bz2
chat-59798c137584a0b7e008ec713b489929dd83a690.zip
Fix permalink loading for non-loaded posts (#7310)
Diffstat (limited to 'webapp/components/post_view')
-rw-r--r--webapp/components/post_view/post_list.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/post_view/post_list.jsx b/webapp/components/post_view/post_list.jsx
index d8a56fe83..c13de7096 100644
--- a/webapp/components/post_view/post_list.jsx
+++ b/webapp/components/post_view/post_list.jsx
@@ -301,7 +301,7 @@ export default class PostList extends React.PureComponent {
loadPosts = async (channelId, focusedPostId) => {
let posts;
if (focusedPostId) {
- const getPostThreadAsync = this.props.actions.getPostThread(focusedPostId);
+ const getPostThreadAsync = this.props.actions.getPostThread(focusedPostId, false);
const getPostsBeforeAsync = this.props.actions.getPostsBefore(channelId, focusedPostId, 0, POSTS_PER_PAGE);
const getPostsAfterAsync = this.props.actions.getPostsAfter(channelId, focusedPostId, 0, POSTS_PER_PAGE);