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:
parent
fab404962c
commit
4d52aa5ad9
1 changed files with 0 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue