diff options
Diffstat (limited to 'web/react/components/create_post.jsx')
-rw-r--r-- | web/react/components/create_post.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/create_post.jsx b/web/react/components/create_post.jsx index 8e9e95751..3714560ea 100644 --- a/web/react/components/create_post.jsx +++ b/web/react/components/create_post.jsx @@ -76,7 +76,7 @@ module.exports = React.createClass({ var channel = ChannelStore.get(this.state.channelId); PostStore.storePendingPost(post); - PostStore.storeDraft(channel.id, userId, null); + PostStore.storeDraft(channel.id, null); this.setState({messageText: '', submitting: false, postError: null, previews: [], serverError: null}); client.createPost(post, channel, |