mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 17:27:45 +00:00
Merge remote-tracking branch 'upstream/dev' into open_groups_V2
This commit is contained in:
commit
75b40a2b55
@ -54,7 +54,7 @@ class JobQueue : JobDelegate {
|
|||||||
// of the order in which the jobs were added.
|
// of the order in which the jobs were added.
|
||||||
val currentTime = System.currentTimeMillis()
|
val currentTime = System.currentTimeMillis()
|
||||||
jobTimestampMap.putIfAbsent(currentTime, AtomicInteger())
|
jobTimestampMap.putIfAbsent(currentTime, AtomicInteger())
|
||||||
job.id = jobTimestampMap[currentTime]!!.getAndIncrement().toString()
|
job.id = currentTime.toString() + jobTimestampMap[currentTime]!!.getAndIncrement().toString()
|
||||||
|
|
||||||
MessagingConfiguration.shared.storage.persistJob(job)
|
MessagingConfiguration.shared.storage.persistJob(job)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user