AudioPlayer: Logging when changing playback or queue
This commit is contained in:
parent
5574b08f4c
commit
ea2083cd11
2 changed files with 41 additions and 11 deletions
|
@ -55,6 +55,8 @@ export async function sendReceipts({
|
|||
return;
|
||||
}
|
||||
|
||||
log.info(`Starting receipt send of type ${type}`);
|
||||
|
||||
const receiptsBySenderId: Map<string, Array<Receipt>> = receipts.reduce(
|
||||
(result, receipt) => {
|
||||
const { senderE164, senderUuid } = receipt;
|
||||
|
@ -116,6 +118,8 @@ export async function sendReceipts({
|
|||
return;
|
||||
}
|
||||
|
||||
log.info(`Sending receipt of type ${type} to ${sender.idForLogging()}`);
|
||||
|
||||
const sendOptions = await getSendOptions(sender.attributes);
|
||||
|
||||
const batches = chunk(receiptsForSender, CHUNK_SIZE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue