]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1447410 - Make it so you can always request review from .bugs or .tld accounts
authorDylan William Hardison <dylan@hardison.net>
Fri, 23 Mar 2018 19:58:17 +0000 (15:58 -0400)
committerGitHub <noreply@github.com>
Fri, 23 Mar 2018 19:58:17 +0000 (15:58 -0400)
extensions/Review/Extension.pm

index db2b475a1c33ec73a2c007d93d33e7d7e1b0be62..f05f2ba8b6c33233384016baf81f1ce2105ad2fa 100644 (file)
@@ -93,6 +93,8 @@ sub _reviewers_objs {
 sub _user_is_active {
     my ($self) = @_;
 
+    # never consider .bugs or .tld addresses as inactive.
+    return 1 if $self->login =~ /bugs$/ || $self->login =~ /\.tld$/;
     return 1 unless Bugzilla->params->{max_reviewer_last_seen};
     return 0 if !defined($self->last_seen_date);