From 09bf61519727031da22ae86beed66bb225f3c4e2 Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Wed, 17 Jun 2015 08:29:44 -0400
Subject: fixes mm-1269 don't show blue bar for internet connection issue

---
 web/react/utils/async_client.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'web/react/utils/async_client.jsx')

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,
-- 
cgit v1.2.3-1-g7c22

