diff --git a/crates/matrix-sdk-sqlite/src/state_store.rs b/crates/matrix-sdk-sqlite/src/state_store.rs index 1ef116bc8..aa7cc5f16 100644 --- a/crates/matrix-sdk-sqlite/src/state_store.rs +++ b/crates/matrix-sdk-sqlite/src/state_store.rs @@ -180,7 +180,7 @@ impl SqliteStateStore { fn remove_maybe_stripped_room_data( &self, - txn: &Transaction, + txn: &Transaction<'_>, room_id: &RoomId, stripped: bool, ) -> rusqlite::Result<()> { @@ -1245,7 +1245,7 @@ impl StateStore for SqliteStateStore { receipt_type: ReceiptType, thread: ReceiptThread, user_id: &UserId, - ) -> Result> { + ) -> Result> { let room_id = self.encode_key(keys::RECEIPT, room_id); let receipt_type = self.encode_key(keys::RECEIPT, receipt_type.to_string()); // We cannot have a NULL primary key so we rely on serialization instead of the