Google Meet: let each member turn off AI summaries for their own calls
Merged
EH
15h ago+125+125+012345678901234567890123456789-3-3-0123456789
Context
Second of three PRs that split https://github.com/twentyhq/twenty/pull/30645. Builds on https://github.com/twentyhq/twenty/pull/30654.
What this PR does
- Adds an AI summaries setting per member (a USER application variable, on by default), shown on the member's Apps preferences.
- The summary job follows the call owner's choice. It now takes the owner's
userWorkspaceIdand reads members' values through the metadata querymyUserApplicationVariables, since a job started by the app has no member and gets no USER values in its env. A call whose owner turned the setting off ends asDISABLED, without an agent run.
Checks
yarn lint,yarn typecheck,twenty app build,oxfmt --checkandyarn test:unit(173 tests) pass locally. A new pure test covers finding the owner's value.- Tested on a self-hosted Twenty as part of #30645: the setting shows on Apps preferences, and the job ends as
DISABLEDonly for an owner who turned it off.