Skip to content

Commit

Permalink
Update crates/matrix-sdk-base/src/store/migration_helpers.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Bouvier <[email protected]>
Signed-off-by: Mathieu Velten <[email protected]>
  • Loading branch information
MatMaul and bnjbvr committed Dec 5, 2024
1 parent b69b595 commit 9039523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/matrix-sdk-base/src/store/migration_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ impl BaseRoomInfoV1 {
MinimalStateEvent::Redacted(ev) => MinimalStateEvent::Redacted(ev),
});

let mut dm_targets_converted = HashSet::new();
let mut converted_dm_targets = HashSet::new();
for dm_target in dm_targets {
dm_targets_converted.insert(OwnedDirectUserIdentifier::from(dm_target));
converted_dm_targets.insert(OwnedDirectUserIdentifier::from(dm_target));
}

Box::new(BaseRoomInfo {
Expand Down

0 comments on commit 9039523

Please sign in to comment.