From 37cde9794700a30263cb858e97f077232bfd3708 Mon Sep 17 00:00:00 2001 From: Salastil Date: Sun, 13 Sep 2026 01:21:04 -0400 Subject: [PATCH] The record button appears on Matrix too The same button, because the daemon (nobilis 3017437) now speaks both shapes from one recording: Discord's flag and base64 waveform, Matrix's MSC3245 marker and integers. Nothing about the control changes - it is a microphone, a clock and a level meter either way - and the pill that plays one back already drew a Matrix voice message the moment the daemon started reading it, since both arrive as the same attachment. Co-Authored-By: Claude Opus 5 --- nobilis | 2 +- src/renderer/src/components/Composer.tsx | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nobilis b/nobilis index f9b5be5..3017437 160000 --- a/nobilis +++ b/nobilis @@ -1 +1 @@ -Subproject commit f9b5be5f1d729c03db931b718e1221b7766f3d77 +Subproject commit 30174373f900299e57677df21a89257031547f56 diff --git a/src/renderer/src/components/Composer.tsx b/src/renderer/src/components/Composer.tsx index 5ac12b1..d5773ec 100644 --- a/src/renderer/src/components/Composer.tsx +++ b/src/renderer/src/components/Composer.tsx @@ -823,10 +823,11 @@ export function Composer(): JSX.Element | null { )} - {/* Saying it rather than typing it. Discord only, because it is the - one service here whose voice messages this speaks - Matrix shapes - them differently and is its own piece of work. */} - {service === 'discord' && } + {/* Saying it rather than typing it. The two services that have voice + messages at all: Discord's flag and base64 waveform, and Matrix's + MSC3245 marker with integers. The daemon speaks both from one + recording, so this is the same button either way. */} + {(service === 'discord' || service === 'matrix') && }