Check for sync even with no gateways

Stephen Paul Weber created

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

Change summary

src/cheogram/java/eu/siacs/conversations/services/QuickConversationsService.java | 1 
1 file changed, 1 deletion(-)

Detailed changes

src/cheogram/java/eu/siacs/conversations/services/QuickConversationsService.java 🔗

@@ -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)) {