feat: get-state-at admin command #1877
No reviewers
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
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
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1877
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "31a/continuwuity:pr-admin-get-state-at"
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 PR add a
debug get-state-atadmin command to complementdebug get-room-statePull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
get-state-atadmin command@ -506,1 +506,4 @@#[admin_command]pub(super) async fn get_state_at(&self, event_id: OwnedEventId) -> Result {self.bail_restricted()?;Probably not needed for this one, given it's a public fed endpoint. cc others if there's disagreement there?
it's there for parity with
get-room-state, although the only thing it guards against (in both functions) is accidentally pasting an ID from the wrong room, which is questionably necessaryFair enough
2d9e3894c88a3e2f348a8a3e2f348a21e93f8feb