Fixed bug which could prevent invalid accounts being removed from the queue until the next valid one is added.

This commit is contained in:
CalDescent 2022-10-22 19:30:08 +01:00
parent 72985b1fc6
commit e45ad37eb5

View File

@ -214,8 +214,8 @@ public class OnlineAccountsManager {
if (!onlineAccountsToAdd.isEmpty()) { if (!onlineAccountsToAdd.isEmpty()) {
LOGGER.debug("Merging {} validated online accounts from import queue", onlineAccountsToAdd.size()); LOGGER.debug("Merging {} validated online accounts from import queue", onlineAccountsToAdd.size());
addAccounts(onlineAccountsToAdd); addAccounts(onlineAccountsToAdd);
onlineAccountsImportQueue.removeAll(onlineAccountsToRemove);
} }
onlineAccountsImportQueue.removeAll(onlineAccountsToRemove);
} }
} }