mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
Perform a contact sync with every directory refresh
This commit is contained in:
parent
8bba45f396
commit
b307980d8c
@ -58,7 +58,7 @@ public class DirectoryHelper {
|
|||||||
|
|
||||||
List<Address> newlyActiveUsers = refreshDirectory(context, AccountManagerFactory.createManager(context));
|
List<Address> newlyActiveUsers = refreshDirectory(context, AccountManagerFactory.createManager(context));
|
||||||
|
|
||||||
if (!newlyActiveUsers.isEmpty() && TextSecurePreferences.isMultiDevice(context)) {
|
if (TextSecurePreferences.isMultiDevice(context)) {
|
||||||
ApplicationContext.getInstance(context)
|
ApplicationContext.getInstance(context)
|
||||||
.getJobManager()
|
.getJobManager()
|
||||||
.add(new MultiDeviceContactUpdateJob(context));
|
.add(new MultiDeviceContactUpdateJob(context));
|
||||||
|
Loading…
Reference in New Issue
Block a user