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:
parent
2209780999
commit
c3e2297f08
20 changed files with 431 additions and 250 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue