Skip to content

Commit d113e68

Browse files
Fixed missing feature check
Signed-off-by: Michael Hollister <[email protected]>
1 parent 85c954e commit d113e68

File tree

1 file changed

+1
-1
lines changed
  • crates/matrix-sdk/src/room

1 file changed

+1
-1
lines changed

crates/matrix-sdk/src/room/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ impl Room {
987987
self.client.send(request, None).await?;
988988

989989
// MSC3061: Forward past room keys to invitee
990-
#[cfg(feature = "e2e-encryption")]
990+
#[cfg(all(feature = "e2e-encryption", feature = "automatic-room-key-forwarding"))]
991991
if self.is_encrypted().await?
992992
&& matches!(
993993
self.history_visibility(),

0 commit comments

Comments
 (0)