Skip to content

rocketchat: do not try to impersonate user if not required#229

Open
Kioob wants to merge 1 commit into
matterbridge-org:masterfrom
Kioob:bug/rocketchat-sendmessage
Open

rocketchat: do not try to impersonate user if not required#229
Kioob wants to merge 1 commit into
matterbridge-org:masterfrom
Kioob:bug/rocketchat-sendmessage

Conversation

@Kioob

@Kioob Kioob commented Jun 15, 2026

Copy link
Copy Markdown

rocketchat: do NOT try to impersonate user if PrefixMessagesWithNick=true, this should partially fix #153

Sending Alias and Avatar unconditionally causes a "Match failed" 400 error
on RocketChat servers where the bot role does not have the message-impersonate
permission. Only send these fields when PrefixMessagesWithNick is false.

Fixes #153
Ref: #153

…true, this should partially fix matterbridge-org#153

Sending Alias and Avatar unconditionally causes a "Match failed" 400 error
on RocketChat servers where the bot role does not have the message-impersonate
permission. Only send these fields when PrefixMessagesWithNick is false.

Fixes: matterbridge-org#153

Co-authored-by: Claude <claude@anthropic.com>
@poVoq

poVoq commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Can you please also add a changlog entry and any additional documentation required?

Otherwise looks like a good change, but I have no way to test this.

@poVoq

poVoq commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Hello. Do you still want this merged? Please see the above mentioned requirements for merging.

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.

Rocket.Chat not sending

2 participants