From a3091347e094d80ca972557c38f160b0fcf33211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 12 Nov 2024 16:43:14 +0100 Subject: [PATCH] fixup! fixup! fix: Use the DisplayName struct to protect against homoglyph attacks --- crates/matrix-sdk-sqlite/src/state_store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk-sqlite/src/state_store.rs b/crates/matrix-sdk-sqlite/src/state_store.rs index 7230532916..24ac3c2c90 100644 --- a/crates/matrix-sdk-sqlite/src/state_store.rs +++ b/crates/matrix-sdk-sqlite/src/state_store.rs @@ -1542,7 +1542,7 @@ impl StateStore for SqliteStateStore { // names, while we now consider them to be the same so we need to merge the // previously distinct buckets of user IDs. // 2. We can't do a migration to merge the previously distinct buckets of user - // IDs since the dipslay names itself are hashed before they are persisted + // IDs since the display names itself are hashed before they are persisted // in the store. let raw = (self.encode_key(keys::DISPLAY_NAME, display_name.raw_str()), display_name);