chore: log web media sends
This commit is contained in:
@@ -122,6 +122,9 @@ export async function sendMessageWeb(
|
|||||||
mimetype: media.contentType,
|
mimetype: media.contentType,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
logInfo(
|
||||||
|
`📤 Sending via web session -> ${jid}${options.mediaUrl ? " (media)" : ""}`,
|
||||||
|
);
|
||||||
const result = await sock.sendMessage(jid, payload);
|
const result = await sock.sendMessage(jid, payload);
|
||||||
const messageId = result?.key?.id ?? "unknown";
|
const messageId = result?.key?.id ?? "unknown";
|
||||||
logInfo(
|
logInfo(
|
||||||
|
|||||||
Reference in New Issue
Block a user