Use concurrency of one for queues with no options
This commit is contained in:
parent
4cd05dc6c9
commit
1f65a4491f
4 changed files with 27 additions and 22 deletions
|
@ -599,10 +599,10 @@ function scheduleSessionReset(senderUuid: string, senderDevice: number) {
|
|||
);
|
||||
}
|
||||
|
||||
lightSessionResetQueue.add(() => {
|
||||
lightSessionResetQueue.add(async () => {
|
||||
const ourUuid = window.textsecure.storage.user.getCheckedUuid();
|
||||
|
||||
window.textsecure.storage.protocol.lightSessionReset(
|
||||
await window.textsecure.storage.protocol.lightSessionReset(
|
||||
new QualifiedAddress(ourUuid, Address.create(senderUuid, senderDevice))
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue