Skip to content

Commit 6435ea6

Browse files
committed
fix testing function wrongly exposed
1 parent 193a5ed commit 6435ea6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/matrix-sdk-crypto/src/machine.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ impl OlmMachine {
455455
/// }
456456
/// # });
457457
/// ```
458+
#[cfg(any(test, feature = "testing"))]
458459
#[allow(dead_code)]
459460
async fn should_upload_keys(&self) -> bool {
460461
self.account.should_upload_keys().await

0 commit comments

Comments
 (0)