-
Notifications
You must be signed in to change notification settings - Fork 415
Document and fix room_config param when user_may_create_room callback is invoked for a room upgrade #18721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
hughns
merged 23 commits into
develop
from
hughns/user-may-create-room-initial-state-format
Sep 24, 2025
+75
−20
Merged
Document and fix room_config param when user_may_create_room callback is invoked for a room upgrade #18721
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c6e994f
Fix structure of initial_state when calling user_may_create_room modu…
hughns 9f2539c
Changelog
hughns 99f5de0
Apply suggestions from code review
hughns 831773d
More suggested changes from review
hughns 137da57
More suggestions from code review
hughns fa42783
More suggestions from review
hughns 9203016
Pass `room_config` = `None` for a room upgrade and clarify documentation
hughns 005a61f
Suggestions from review
hughns 2e115b7
Revert the logic back to how it was pre adding room_config
hughns 9c13a60
Revert "Revert the logic back to how it was pre adding room_config"
hughns 3d17a88
Revert "Suggestions from review"
hughns 44a0e76
Revert "Pass `room_config` = `None` for a room upgrade and clarify do…
hughns 8693873
Update documentation
hughns ce47547
Merge branch 'develop' into hughns/user-may-create-room-initial-state…
hughns ca9d34c
Merge branch 'develop' into hughns/user-may-create-room-initial-state…
hughns a165f99
Another attempt at line spacing in tests
hughns dcc5ce3
Update docs/modules/spam_checker_callbacks.md
hughns 91becca
Linewrap
hughns 202aeca
Merge branch 'develop' into hughns/user-may-create-room-initial-state…
hughns 14895d3
Apply suggestions from code review
hughns 1f9b3e3
Improve comments for spam checker logic
hughns 2bb2da4
Merge branch 'develop' into hughns/user-may-create-room-initial-state…
hughns 4c6942c
Add TODO comments regarding preset for spam checker.
hughns File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix room upgrade `room_config` argument and documentation for `user_may_create_room` spam-checker callback. |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.