mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-06-21 22:58:32 -04:00
fixup! fix review comments
This commit is contained in:
committed by
Ivan Enderlin
parent
5cd29830a3
commit
1155f75612
@@ -626,10 +626,11 @@ impl BaseClient {
|
||||
let new_state: RoomState = member.membership().into();
|
||||
if new_state != room_info.state() {
|
||||
room_info.set_state(new_state);
|
||||
room_info_notable_updates.insert(
|
||||
room_info.room_id.to_owned(),
|
||||
RoomInfoNotableUpdateReasons::MEMBERSHIP,
|
||||
);
|
||||
// Update an existing notable update entry or create a new one
|
||||
room_info_notable_updates
|
||||
.entry(room_info.room_id.to_owned())
|
||||
.or_default()
|
||||
.insert(RoomInfoNotableUpdateReasons::MEMBERSHIP);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user