fix: Hydra bugfix sweep #1099
No reviewers
Labels
No labels
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/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status/Blocked
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1099
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nex/fix/event-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?
fixes #1097, fixes #1093, closes #1060 (by removing the logic for now, which was then ultimately fixed by #1126, pending a future replacement via #1061)
Fixes:
make_join)fix: Unbans and kicks incorrectly checked creatorship in !v12to WIP: fix: Several event auth issuesPR scope changed
WIP: fix: Several event auth issuesto WIP: fix: Hydra bugfix sweep0842b8945ac4e7e7c655Waiting until #1094 is fixed before un-drafting this (aiming to tackle it in this PR also)
57e905b7b1e7b4b45ec4dont merge v12 is broken again lol
e7b4b45ec425fe03731a#1094 should be fixed by another PR and likely won't make it into this one.
This should now be ready for merge. I've tested everything I fixed and everything seems to work as expected
WIP: fix: Hydra bugfix sweepto fix: Hydra bugfix sweep@ -81,2 +89,2 @@)),}Ok(room_create.sender() == sender|| redacting_eventAdditional creators? Unless it's handled earlier
Handled on line 54
Code locality? Never heard of it 😭
it doesnt make sense to check ownership twice (in both the "has power level event" branch and the "doesnt have a power level event" branch), but rather just check it before even caring. Also technically saves us a lookup if the room is v12 and the sender is a creator.
Plus it's 30 lines up it's within eye shot 😭
f22016edeefbf48addc7