Thread watcher refresh also needs fresh Unread data.

This commit is contained in:
ccd0 2014-11-21 19:53:08 -08:00
parent a75fdc32c4
commit 78805b0f12

View File

@ -116,6 +116,7 @@ ThreadWatcher =
fetching: 0
fetchAllStatus: ->
ThreadWatcher.db.forceSync()
ThreadWatcher.unreaddb.forceSync()
return unless (threads = ThreadWatcher.getAll()).length
for thread in threads
ThreadWatcher.fetchStatus thread