spazproject / Spaz-Enyo

A version of Spaz targeted for tablet devices
http://getspaz.com
Other
45 stars 10 forks source link

Unread count not being displayed for newly created accounts #122

Closed nguarracino closed 12 years ago

nguarracino commented 12 years ago

I think it's because the last read date for new columns is 1. In Column.markOlderAsRead() we only call Column.countUnread() if there are entries older than the last read date, but nothing is older than 1. I think we should be able to call Column.countUnread() from Column.create().

funkatron commented 12 years ago

good catch!

nguarracino commented 12 years ago

This change works, but there may be a better way to accomplish it. Like maybe if we choose a different default value for lastRead, we wouldn't have to have a special case to force counting unread entries.