hoodiehq/hoodie.js — pull request #248 by tenmilestereo (2014-03-03 11:57:00+00:00)
Title: Comment fix to (in)valid session

I'm not sure if this is any better or worse as regards #226.

It looks right, but I've not done a huge amount of digging into it.

My main question would be whether the idea behind:

if (!account.hasAccount())

Is geared toward whether a user is signed into their account, or whether the user has an account at all? If a user has an account but is not signed in, data can be synchronized behind the scenes for them, but I wouldn't want to be synchronizing anything to a user that wasn't signed in, for fear of shared computers and so on.