Expand description
Tells every open window that an account changed, from the code that changes it.
The Connectors pane, the pickers and the agent pane keep one cache of the accounts and refresh
it on identityaccounts:changed. A path that writes an account row without publishing it leaves
them stale until a remount, which is what an agent’s Google connect did: the flow commits the
account in the background, with no request of the person’s window to refresh after. So the
commit points (a connect finishing, a token refresh the provider refuses) announce it here, and a
new path has one call to make.
Structs§
- Google
Notice Event - The
google:noticeevent: one line for the windows’ notices, asking nothing (“Naki-2 gave Agent5 Calendar read”). Never mail, event or file content.
Functions§
- announce
- An account was added, removed, reconnected or changed state: windows read the accounts again.
- install_
broker - Where the announcement goes, set once at startup. Until then (and in a unit test that doesn’t install one) a change is recorded but not announced.
- tell_
windows - Tells the windows what an agent did to a Google account, so the person sees it as it happens.