summaryrefslogtreecommitdiffstats
path: root/webapp/components/create_post.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-06-13 14:36:40 -0400
committerGitHub <noreply@github.com>2016-06-13 14:36:40 -0400
commit974238231b9cdbd39a825ec8e9299fbb0b51f6b8 (patch)
tree5d6ede355ea80fc919f43d36a7c21fb96a603966 /webapp/components/create_post.jsx
parentb353b9fbcfd924ca8ca01c416d1724ccd6113169 (diff)
downloadchat-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.jsx2
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') {