diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-06-13 14:36:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-13 14:36:40 -0400 |
commit | 974238231b9cdbd39a825ec8e9299fbb0b51f6b8 (patch) | |
tree | 5d6ede355ea80fc919f43d36a7c21fb96a603966 /webapp/components/create_post.jsx | |
parent | b353b9fbcfd924ca8ca01c416d1724ccd6113169 (diff) | |
download | chat-974238231b9cdbd39a825ec8e9299fbb0b51f6b8.tar.gz chat-974238231b9cdbd39a825ec8e9299fbb0b51f6b8.tar.bz2 chat-974238231b9cdbd39a825ec8e9299fbb0b51f6b8.zip |
PLT-3270 Comment out max file size setting in system console (#3324)
* Comment out max file size settting in system console
* Remove pending post after successful create post request
Diffstat (limited to 'webapp/components/create_post.jsx')
-rw-r--r-- | webapp/components/create_post.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx index 7aa0a586b..caf58c744 100644 --- a/webapp/components/create_post.jsx +++ b/webapp/components/create_post.jsx @@ -180,7 +180,7 @@ class CreatePost extends React.Component { Client.createPost(post, () => { - // DO nothing. Websockets will handle this. + PostStore.removePendingPost(post.pending_post_id); }, (err) => { if (err.id === 'api.post.create_post.root_id.app_error') { |