1
0
Fork 1

Check for sync even with no gateways

As we may need to remove something from a removed gateway.

(cherry picked from commit f63282767512d9b8b478e610b67f85c7f43711cd)
This commit is contained in:
Stephen Paul Weber 2024-09-03 13:29:22 -05:00 committed by Arne
parent fab404962c
commit 4d52aa5ad9

View file

@ -101,7 +101,6 @@ public class QuickConversationsService extends AbstractQuickConversationsService
ImmutableMap<String, PhoneNumberContact> allContacts = null;
for (final Account account : ImmutableList.copyOf(service.getAccounts())) {
List<String> gateways = gateways(account);
if (gateways.size() < 1) continue;
if (allContacts == null) allContacts = PhoneNumberContact.load(service);
refresh(account, gateways, allContacts.values());
if (!considerSync(account, gateways, allContacts, forced)) {