Wait for ConversationController
load in receipt and sync jobs
This commit is contained in:
parent
29c3b8af89
commit
ed96e603ab
3 changed files with 32 additions and 0 deletions
|
@ -79,6 +79,8 @@ export async function sendReceipts({
|
|||
new Map()
|
||||
);
|
||||
|
||||
await window.ConversationController.load();
|
||||
|
||||
await Promise.all(
|
||||
map(receiptsBySenderId, async ([senderId, receiptsForSender]) => {
|
||||
const sender = window.ConversationController.get(senderId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue