Skip to content

Commit 8ae8fcf

Browse files
committed
fix: Correct signature of get_withheld_event in IndexeddbCryptoStore.
1 parent c7608f4 commit 8ae8fcf

File tree

1 file changed

+2
-2
lines changed
  • crates/matrix-sdk-indexeddb/src/crypto_store

1 file changed

+2
-2
lines changed

crates/matrix-sdk-indexeddb/src/crypto_store/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use matrix_sdk_crypto::{
3535
},
3636
CryptoStore, CryptoStoreError,
3737
},
38-
types::events::room_key_withheld::RoomKeyWithheldEvent,
38+
types::events::room_key_withheld::RoomKeyWithheldEntry,
3939
vodozemac::base64_encode,
4040
Account, DeviceData, GossipRequest, GossippedSecret, SecretInfo, TrackedUser, UserIdentityData,
4141
};
@@ -1386,7 +1386,7 @@ impl_crypto_store! {
13861386
&self,
13871387
room_id: &RoomId,
13881388
session_id: &str,
1389-
) -> Result<Option<RoomKeyWithheldEvent>> {
1389+
) -> Result<Option<RoomKeyWithheldEntry>> {
13901390
let key = self.serializer.encode_key(keys::DIRECT_WITHHELD_INFO, (session_id, room_id));
13911391
if let Some(pickle) = self
13921392
.inner

0 commit comments

Comments
 (0)