]> git.cworth.org Git - sup/commit
return sources in id-order, with non-archived sources first
authorGrant Hollingworth <grant@antiflux.org>
Fri, 18 Jan 2008 17:06:49 +0000 (12:06 -0500)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 3 Feb 2008 00:54:21 +0000 (16:54 -0800)
commit04fc9a010f3112bc472294ae38a575a183ce54a4
treee48d3cf4e8c0059337ecba5c0123cfe3fa4d9de7
parent5977aecf6bf51a1f7a2bb59d01742dd4ced979ce
return sources in id-order, with non-archived sources first

To speed up the user's view of polling, deal with sources that affect
the inbox before (for example) large mailing lists. It seemed tidier to
implement this in Index rather than PollManager.

I changed "@sources.values" to "sources" in some other methods for
clarity, which I think in this case outweighs lost efficiency.
lib/sup/index.rb