Remove allow_public_room_directory_without_auth #1441
No reviewers
Labels
No labels
Blocked
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1441
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0xnim/continuwuity:fix/remove-allow-public-room-directory-without-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request removes allow_public_room_directory_without_auth as per #1438
Closes: #1438
Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
Removed allow_public_room_directory_without_auth #1438to Removed allow_public_room_directory_without_authTitle should probably say "Remove" not "Removed" :)
That's what you say in the commits actually, so doesn't hugely matter anyways.
LGTM, from a quick look!
Removed allow_public_room_directory_without_authto Remove allow_public_room_directory_without_authlgtm
@ -86,1 +70,3 @@}match token {| Token::Appservice(_) | Token::User(_) => {// we should have validated the token aboveIs this match case useful ?
It could be changed to
if matches!(token, Token::None | Token::Invalid) {...}instead but it's not really a big deal. I'm planning to tidy up the router later anyway