From 66f71c18362dd9434d2bbac8a523233ca78d1c34 Mon Sep 17 00:00:00 2001 From: Bartok9 Date: Wed, 18 Mar 2026 03:33:04 -0400 Subject: [PATCH] fix(matrix): use correct reply_to_message_id parameter name Fixes #1842 The MessageEvent dataclass expects 'reply_to_message_id' but the Matrix connector was passing 'reply_to'. This caused replies to fail with: MessageEvent.__init__() got an unexpected keyword argument 'reply_to' Changed the parameter name to match the dataclass definition. --- gateway/platforms/matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/platforms/matrix.py b/gateway/platforms/matrix.py index a4f5531d8..77a2f2400 100644 --- a/gateway/platforms/matrix.py +++ b/gateway/platforms/matrix.py @@ -635,7 +635,7 @@ class MatrixAdapter(BasePlatformAdapter): source=source, raw_message=getattr(event, "source", {}), message_id=event.event_id, - reply_to=reply_to, + reply_to_message_id=reply_to, ) await self.handle_message(msg_event)