summaryrefslogtreecommitdiffstats
path: root/webapp/components/create_post.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/create_post.jsx')
-rw-r--r--webapp/components/create_post.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx
index 56f392292..4a2cf5302 100644
--- a/webapp/components/create_post.jsx
+++ b/webapp/components/create_post.jsx
@@ -261,7 +261,8 @@ export default class CreatePost extends React.Component {
});
}
- PostActions.createPost(post, this.state.fileInfos, null,
+ PostActions.createPost(post, this.state.fileInfos,
+ () => GlobalActions.postListScrollChange(true),
(err) => {
if (err.id === 'api.post.create_post.root_id.app_error') {
// this should never actually happen since you can't reply from this textbox