Skip to content

fix(matrix): use correct reply_to_message_id parameter name - #1895

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-ba3c8fa1
Mar 18, 2026
Merged

fix(matrix): use correct reply_to_message_id parameter name#1895
teknium1 merged 1 commit into
mainfrom
hermes/hermes-ba3c8fa1

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Cherry-picks PR #1885 by @Bartok9. Fixes #1842.

Matrix adapter was passing reply_to=reply_to to MessageEvent, but the dataclass field is reply_to_message_id. Every other adapter uses the correct name. This caused Matrix replies to crash.

Supersedes #1885.

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.
@teknium1
teknium1 merged commit 927f4d3 into main Mar 18, 2026
1 check failed
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
…arch#1895)

fix(matrix): use correct reply_to_message_id parameter name
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…arch#1895)

fix(matrix): use correct reply_to_message_id parameter name
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
…arch#1895)

fix(matrix): use correct reply_to_message_id parameter name
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
…arch#1895)

fix(matrix): use correct reply_to_message_id parameter name
melon-xf added a commit to melon-xf/hermes-agent that referenced this pull request Sep 3, 2026
…arch#1895)

fix(matrix): use correct reply_to_message_id parameter name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Incorrect parameter name in Matrix connector MessageEvent construction

2 participants