Flip the defaults of the attention and assignee flags
By default the attention set becomes enabled and the assignee feature
becomes disabled.
Change-Id: Ic55a731eb5136306dd14c6bad80e1e160185793a
(cherry picked from commit 4427d43734)
This commit is contained in:
@@ -61,6 +61,6 @@ public class EmailSettings {
|
||||
TimeUnit.MILLISECONDS.convert(60, TimeUnit.SECONDS),
|
||||
TimeUnit.MILLISECONDS);
|
||||
sendNewPatchsetEmails = cfg.getBoolean("change", null, "sendNewPatchsetEmails", true);
|
||||
isAttentionSetEnabled = cfg.getBoolean("change", null, "enableAttentionSet", false);
|
||||
isAttentionSetEnabled = cfg.getBoolean("change", null, "enableAttentionSet", true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,8 +238,9 @@ public class GetServerInfo implements RestReadView<ConfigResource> {
|
||||
info.mergeabilityComputationBehavior =
|
||||
MergeabilityComputationBehavior.fromConfig(config).name();
|
||||
info.enableAttentionSet =
|
||||
toBoolean(this.config.getBoolean("change", null, "enableAttentionSet", false));
|
||||
info.enableAssignee = toBoolean(this.config.getBoolean("change", null, "enableAssignee", true));
|
||||
toBoolean(this.config.getBoolean("change", null, "enableAttentionSet", true));
|
||||
info.enableAssignee =
|
||||
toBoolean(this.config.getBoolean("change", null, "enableAssignee", false));
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user