feat(discord): add silent support for voice messages

- Add silent flag to sendDiscordVoiceMessage
- Combines VOICE_MESSAGE (8192) + SUPPRESS_NOTIFICATIONS (4096) flags
- Pass silent through VoiceMessageOpts and action handlers
This commit is contained in:
nyanjou
2026-02-03 14:35:30 +01:00
committed by Shadow
parent 385eed14f6
commit b4359c84f7
2 changed files with 7 additions and 1 deletions

View File

@@ -258,6 +258,7 @@ export async function handleDiscordMessagingAction(
const result = await sendVoiceMessageDiscord(to, mediaUrl, {
...(accountId ? { accountId } : {}),
replyTo,
silent,
});
return jsonResult({ ok: true, result, voiceMessage: true });
}