diff --git a/CHANGELOG.md b/CHANGELOG.md index 46ff5512..86ca7504 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,6 @@ Release date: TBD - Changed display of unread messages on the team tabbar, they are now shown as bold text - Reload only the selected tab and keep its URL on "Reload" and "Clear Cache and Reload". - Disabled `eval()` function for security improvements. -- Invalidate cache before load, to make server upgrades easy - Removed misleading shortcuts from tray menu, as they didn't work - Ctrl/Command+S puts cursor in search box to search in current team. - Shift+Ctrl/Command+S puts cursor in search box to search in current channel. diff --git a/src/browser/index.jsx b/src/browser/index.jsx index 7da00bd9..11f45396 100644 --- a/src/browser/index.jsx +++ b/src/browser/index.jsx @@ -346,8 +346,7 @@ var MattermostView = React.createClass({ webview.addEventListener('did-fail-load', function(e) { console.log(thisObj.props.name, 'webview did-fail-load', e); - if (e.errorCode === -3 || // An operation was aborted (due to user action). - e.errorCode === -300) { //The operation was aborted to invalidate application cache + if (e.errorCode === -3) { // An operation was aborted (due to user action). return; } @@ -382,13 +381,6 @@ var MattermostView = React.createClass({ } }); - webview.addEventListener("did-start-loading", function() { - if (!webview.cacheInvalidated) { - webview.reloadIgnoringCache(); - webview.cacheInvalidated = true; - } - }); - webview.addEventListener("dom-ready", function() { // webview.openDevTools();