mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-19 14:19:06 -04:00
fix(sqlite): Use the correct column name for the sender of bundled room keys
This commit is contained in:
@@ -785,7 +785,7 @@ trait SqliteObjectCryptoStoreExt: SqliteAsyncConnExt {
|
||||
) -> Result<Option<Vec<u8>>> {
|
||||
Ok(self
|
||||
.query_row(
|
||||
"SELECT bundle_data FROM received_room_key_bundle WHERE room_id = ? AND sender_user = ?",
|
||||
"SELECT bundle_data FROM received_room_key_bundle WHERE room_id = ? AND sender_user_id = ?",
|
||||
(room_id, sender_user),
|
||||
|row| { row.get(0) },
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user