Remove requesting DETAILED_LABELS for the dashboard

This is following up on change 288347. The backend was changed such that
it is not required anymore for the attention set dashboard to request
DETAILED_LABELS. Just LABELS are enough.

Change-Id: I9e82c94fbecd3fff821e7a8e67281c3cc395751c
(cherry picked from commit 56f7e79153)
This commit is contained in:
Ben Rohlfs
2020-11-30 10:42:23 +01:00
committed by Luca Milanesio
parent e83e23810b
commit 59d05c7b55
2 changed files with 2 additions and 6 deletions

View File

@@ -123,9 +123,7 @@ public class IndexPreloadingUtil {
options.add(ListChangesOption.LABELS);
options.add(ListChangesOption.DETAILED_ACCOUNTS);
if (isEnabledAttentionSet(serverApi)) {
options.add(ListChangesOption.DETAILED_LABELS);
} else {
if (!isEnabledAttentionSet(serverApi)) {
options.add(ListChangesOption.REVIEWED);
}
return ListOption.toHex(options);