зеркало из https://github.com/mozilla/pjs.git
Bug 394796: "I'm added to or removed from this capacity" for "CCed" doesn't work correctly if several users are added or removed at once from the CC list - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
This commit is contained in:
Родитель
759a2a011e
Коммит
8e5fd3815d
|
@ -1413,8 +1413,8 @@ sub wants_bug_mail {
|
|||
|
||||
if ($fieldName eq "CC") {
|
||||
my $login = $self->login;
|
||||
my $inold = ($old =~ /^(.*,)?\Q$login\E(,.*)?$/);
|
||||
my $innew = ($new =~ /^(.*,)?\Q$login\E(,.*)?$/);
|
||||
my $inold = ($old =~ /^(.*,\s*)?\Q$login\E(,.*)?$/);
|
||||
my $innew = ($new =~ /^(.*,\s*)?\Q$login\E(,.*)?$/);
|
||||
if ($inold != $innew)
|
||||
{
|
||||
$events{+EVT_ADDED_REMOVED} = 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче