5337c9d9ea
`notifications` were stored in the `StateChanges` struct, which made me think that they're then persisted in the database. It's not the case, they were just stored there by convenience. This commit changes it to a parameter that's passed, as it's not too invasive and clearer that this is only transient data.