summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-07-23 09:39:29 -0400
committerJoramWilander <jwawilander@gmail.com>2015-08-18 08:58:02 -0400
commit32f7b50bb5c62d27def3f2e6d2839511c0b8f9a9 (patch)
tree1203fd854bf7ea843a35ce52382b0846ffa3873a /web/react/utils
parent4805608cc9cf79277f37b94bbe38398816469884 (diff)
downloadchat-32f7b50bb5c62d27def3f2e6d2839511c0b8f9a9.tar.gz
chat-32f7b50bb5c62d27def3f2e6d2839511c0b8f9a9.tar.bz2
chat-32f7b50bb5c62d27def3f2e6d2839511c0b8f9a9.zip
adds predictive posting on the client
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/async_client.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/react/utils/async_client.jsx b/web/react/utils/async_client.jsx
index 8b6d821d6..8fa022cbc 100644
--- a/web/react/utils/async_client.jsx
+++ b/web/react/utils/async_client.jsx
@@ -377,6 +377,8 @@ module.exports.getPosts = function(force, id, maxPosts) {
post_list: data
});
+ PostStore.removeNonFailedPendingPosts(channelId);
+
module.exports.getProfiles();
},
function(err) {