Closed espy closed 8 years ago
looking at it now
The account update
event currently does not pass the profile property
account.on('update', function (account) {
// account.profile is undefined
})
account.profile.update({foo: 'bar'})
It’s somewhat related to https://github.com/hoodiehq/hoodie-account-client/issues/107. Probably the simplest solution for both #107 and this PR is to always include profile everywhere. It might eventually become a performance issues with people start storing gazillions of data in account profiles, but until then we should be fine?
Any thoughts?
never mind, this is not affected, profile is included in the update event, LGTM! Merging
LGTM ✨