summaryrefslogtreecommitdiffstats
path: root/js/app
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-18 20:37:22 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-18 20:37:22 +0100
commit36ad80b7f60047e44aab3974a9f1e370bb9516e8 (patch)
tree1dc3b37ac7dce3c924a2336283ef5601b96329ba /js/app
parent69448125739583c6aa6babc992db8c05bc122e5b (diff)
comment
Diffstat (limited to 'js/app')
-rw-r--r--js/app/Run.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/app/Run.js b/js/app/Run.js
index d12bea6c7..9f4cc24ad 100644
--- a/js/app/Run.js
+++ b/js/app/Run.js
@@ -78,6 +78,8 @@ app.run(function ($rootScope, $location, $http, $q, $interval, Loading,
feedDeferred.promise,
folderDeferred.promise
]).then(function () {
+ // first publish feeds to correctly update the folder resource unread
+ // cache
Publisher.publishAll(feeds);
Publisher.publishAll(folders);
});