From f63282767512d9b8b478e610b67f85c7f43711cd Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 3 Sep 2024 13:29:22 -0500 Subject: [PATCH] Check for sync even with no gateways As we may need to remove something from a removed gateway. --- .../siacs/conversations/services/QuickConversationsService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cheogram/java/eu/siacs/conversations/services/QuickConversationsService.java b/src/cheogram/java/eu/siacs/conversations/services/QuickConversationsService.java index ec2d214aebd12d07d8653bc57d8571b080163db0..4ba9b6cb2c49c93ccfbdf9432dcd00c7d9a784e1 100644 --- a/src/cheogram/java/eu/siacs/conversations/services/QuickConversationsService.java +++ b/src/cheogram/java/eu/siacs/conversations/services/QuickConversationsService.java @@ -101,7 +101,6 @@ public class QuickConversationsService extends AbstractQuickConversationsService ImmutableMap allContacts = null; for (final Account account : ImmutableList.copyOf(service.getAccounts())) { List 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)) {