Improved logging: sync messages and outgoing sends

This commit is contained in:
Scott Nonnenberg
2025-12-31 09:27:57 +10:00
committed by GitHub
parent 38c42f17b2
commit d635d426b1
4 changed files with 12 additions and 3 deletions

View File

@@ -3539,6 +3539,7 @@ export async function sendMessagesUnauth(
urgent,
};
log.info(`send/${timestamp}/${destination}/sendMessagesUnauth`);
await _ajax({
host: 'chatService',
call: 'messages',
@@ -3571,6 +3572,7 @@ export async function sendMessages(
urgent,
};
log.info(`send/${timestamp}/${destination}/sendMessages`);
await _ajax({
host: 'chatService',
call: 'messages',
@@ -3606,6 +3608,7 @@ export async function sendWithSenderKey(
const urgentParam = `&urgent=${booleanToString(urgent)}`;
const storyParam = `&story=${booleanToString(story)}`;
log.info(`send/${timestamp}/<multiple>/sendWithSenderKey`);
const response = await _ajax({
host: 'chatService',
call: 'multiRecipient',