1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-11 17:50:59 +00:00

feat: MSC4291, Room IDs as hashes of the create event (2/2)

(cherry picked from commit bd8686ec20)
This commit is contained in:
Matthias Ahouansou 2025-08-01 16:56:26 +02:00
parent 2209780999
commit c3e2297f08
No known key found for this signature in database
20 changed files with 431 additions and 250 deletions

View file

@ -690,8 +690,8 @@ impl KeyValueDatabase {
.unwrap()
.unwrap();
if Some(&pdu.room_id) != current_room.as_ref() {
current_room = Some(pdu.room_id.clone());
if Some(pdu.room_id().as_ref()) != current_room.as_deref() {
current_room = Some(pdu.room_id().into_owned());
}
}