fix: V12 room upgrades #1067
No reviewers
continuwuation/Owners
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
To-Merge
Wont fix
old/ci/cd
old/rust
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1067
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nex/fix/upgrade"
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?
allows the /upgrade endpoint (and client commands) to upgrade to v12 rooms kinda
@ -100,2 +89,2 @@
drop(state_lock);
let state_lock = services.rooms.state.mutex.lock(&replacement_room).await;
let tombstone_event_id = if room_features.room_ids_as_hashes {
None
This is the thing that's missing right?
yeah it previously just forced a new room ID which makes v12 rooms sad because the room Id changedf to the create event id
logic probs needs to look like
except there's a cyclic dep between tombstone and new room with v12 if we want to link the latest event in the tombstone, and I can't remember what the solution to this was lol
v12 explicitly breaks the previous cyclic thingy by dropping the event reference entirely
6137cced3b
e2a2aef7be
Are we OK with just not sending tombstones for now then?
no i forgor
also CI clippy is being odd but local clippy says:
Does that look good to you?
lgtm, you might wanna run clippy though
I feel like the clippy cache might be poisoned somehow lol
03c29e19cb
9d0c89bd04