From 8207ae888dfae8739ec3d57ceab572221db6e8e1 Mon Sep 17 00:00:00 2001 From: Kyle Dunn Date: Sun, 19 Apr 2026 23:30:27 -0600 Subject: [PATCH] fix(gateway): add Signal message type classification for documents --- gateway/platforms/signal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gateway/platforms/signal.py b/gateway/platforms/signal.py index 975b701571b..7ba9c09116f 100644 --- a/gateway/platforms/signal.py +++ b/gateway/platforms/signal.py @@ -602,6 +602,8 @@ class SignalAdapter(BasePlatformAdapter): msg_type = MessageType.VOICE elif any(mt.startswith("image/") for mt in media_types): msg_type = MessageType.PHOTO + elif any(mt.startswith("application/") or mt.startswith("text/") for mt in media_types): + msg_type = MessageType.DOCUMENT # Parse timestamp from envelope data (milliseconds since epoch) ts_ms = envelope_data.get("timestamp", 0)