fix: Prevent message sending to archived rooms via API#38653
Merged
Conversation
Contributor
|
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 2ec7075 The changes in this PR will be included in the next version bump. This PR includes changesets to release 40 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix SendMessage to check archived-flag before sending
Fix: Prevent sending messages to archived rooms via API
Feb 13, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #38653 +/- ##
===========================================
- Coverage 70.46% 70.44% -0.03%
===========================================
Files 3174 3174
Lines 111075 111077 +2
Branches 20030 20019 -11
===========================================
- Hits 78268 78246 -22
- Misses 30759 30784 +25
+ Partials 2048 2047 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
Member
|
/jira ARCH |
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Copilot
AI
changed the title
fix: Prevent sending messages to archived rooms via API
Fix: Prevent message sending to archived rooms via API
Feb 13, 2026
Member
|
/jira ARCH-1935 |
d-gubert
requested changes
Feb 13, 2026
apps/meteor/app/authorization/server/functions/canSendMessage.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: d-gubert <1810309+d-gubert@users.noreply.github.com>
d-gubert
reviewed
Feb 13, 2026
Member
|
/jira ARCH-1935 |
1 similar comment
Member
|
/jira ARCH-1935 |
ggazzo
approved these changes
Feb 13, 2026
TheRazorbill
pushed a commit
to TheRazorbill/Rocket.Chat
that referenced
this pull request
Feb 20, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: Prevent sending messages to archived rooms
Task: ARCH-1956