Perform a contact sync with every directory refresh

This commit is contained in:
Moxie Marlinspike 2018-01-04 11:56:55 -08:00
parent 8bba45f396
commit b307980d8c

View File

@ -58,7 +58,7 @@ public class DirectoryHelper {
List<Address> newlyActiveUsers = refreshDirectory(context, AccountManagerFactory.createManager(context));
if (!newlyActiveUsers.isEmpty() && TextSecurePreferences.isMultiDevice(context)) {
if (TextSecurePreferences.isMultiDevice(context)) {
ApplicationContext.getInstance(context)
.getJobManager()
.add(new MultiDeviceContactUpdateJob(context));