}
Bugzilla::Hook::process('bugmail_recipients',
- { bug => $bug, recipients => \%recipients });
+ { bug => $bug, recipients => \%recipients,
+ diffs => $diffs });
# Find all those user-watching anyone on the current list, who is not
# on it already themselves.
(We use C<+> in front of C<REL_CC> so that Perl interprets it as a constant
instead of as a string.)
+=item C<diffs>
+
+This is a list of hashes, each hash representing a change to the bug. Each
+hash has the following members: C<field_name>, C<bug_when>, C<old>, C<new>
+and C<who> (a L<Bugzilla::User>). If appropriate, there will also be
+C<attach_id> or C<comment_id>; if either is present, there will be
+C<isprivate>. See C<_get_diffs> in F<Bugzilla/BugMail.pm> to see exactly how
+it is populated. Warning: the format and existence of the "diffs" parameter
+is subject to change in future releases of Bugzilla.
+
=back