fix: chat.sendMessage accepts message fields that only the server may set by julio-rocketchat · Pull Request #42975 · RocketChat/Rocket.Chat · GitHub
Skip to content

fix: chat.sendMessage accepts message fields that only the server may set - #42975

Merged
julio-rocketchat merged 9 commits into
developfrom
fix-sendmessage-issues
Oct 22, 2026
Merged

julio-rocketchat merged 9 commits into
developfrom
fix-sendmessage-issues

test: run the chat.sendMessage unit tests on the node:test runner

8d38b34
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 22, 2026 in 1s

71.46% (+0.00%) compared to 3751db7

View this Pull Request on Codecov

71.46% (+0.00%) compared to 3751db7

Details

Codecov Report

❌ Patch coverage is 96.47059% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.46%. Comparing base (3751db7) to head (8d38b34).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #42975    +/-   ##
=========================================
  Coverage    71.45%   71.46%            
=========================================
  Files         5288     5294     +6     
  Lines       227914   228054   +140     
  Branches     42146    42145     -1     
=========================================
+ Hits        162864   162979   +115     
- Misses       59845    59848     +3     
- Partials      5205     5227    +22     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.