summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-06-17 08:29:44 -0400
committerJoramWilander <jwawilander@gmail.com>2015-06-17 08:29:44 -0400
commit09bf61519727031da22ae86beed66bb225f3c4e2 (patch)
treefbd1ac46bf7d9f9bef1b63519c849a23756cc767 /web/react/utils
parent5a8f8397167cec8cba29b70bb7dbdda9ba0265f7 (diff)
downloadchat-09bf61519727031da22ae86beed66bb225f3c4e2.tar.gz
chat-09bf61519727031da22ae86beed66bb225f3c4e2.tar.bz2
chat-09bf61519727031da22ae86beed66bb225f3c4e2.zip
fixes mm-1269 don't show blue bar for internet connection issue
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 bb7ca458f..fc8c23fd5 100644
--- a/web/react/utils/async_client.jsx
+++ b/web/react/utils/async_client.jsx
@@ -15,6 +15,8 @@ var ActionTypes = Constants.ActionTypes;
var callTracker = {};
var dispatchError = function(err, method) {
+ if (err.message === "There appears to be a problem with your internet connection") return;
+
AppDispatcher.handleServerAction({
type: ActionTypes.RECIEVED_ERROR,
err: err,