feat(plugins) : add onRecipientChipsChange hook

This commit is contained in:
Paulhenry Saux
2026-07-20 20:23:11 +02:00
committed by Linus Rath
parent 0a30b2fb3a
commit 2cb5c739b4
3 changed files with 67 additions and 1 deletions
+4
View File
@@ -276,6 +276,10 @@ export const emailHooks = {
// lets plugin edit emails before they are shown in row. Used to populate preview
// field for encryption plugins.
onEmailsFetched: new HookBus(),
// Transform hook - lets plugins edit the recipient chips in composer fields.
// They can add, remove, or modify chips (e.g. rewrite addresses, add colors/icons).
// Take Recipient[] as argument.
onRecipientChipsChange: new HookBus(),
};
// §7.2 Calendar Hooks