diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-08-12 14:52:43 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-08-18 08:59:26 -0400 |
commit | 4866606eb708bbc82804e4910f14025c53f67c10 (patch) | |
tree | 7b30b265d5649b2bbd2793c608f198b8282b1fc7 /web/react/components/create_post.jsx | |
parent | fa1491bbfbb1261757943759edf44883d31e5477 (diff) | |
download | chat-4866606eb708bbc82804e4910f14025c53f67c10.tar.gz chat-4866606eb708bbc82804e4910f14025c53f67c10.tar.bz2 chat-4866606eb708bbc82804e4910f14025c53f67c10.zip |
minor bug fixes to pending posts
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, |