File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ class EncryptionManager:
5959 state_store : StateStore
6060
6161 min_send_trust : TrustState
62- min_share_trust : TrustState
63- min_receive_trust : TrustState
6462 key_sharing_enabled : bool
6563
6664 bridge : br .Bridge
@@ -106,11 +104,9 @@ def __init__(
106104 self .client .add_event_handler (InternalEventType .SYNC_STOPPED , self ._exit_on_sync_fail )
107105 self .crypto .allow_key_share = self .allow_key_share
108106 verification_levels = bridge .config ["bridge.encryption.verification_levels" ]
109- self .min_share_trust = TrustState .parse (verification_levels ["share" ])
110107 self .min_send_trust = TrustState .parse (verification_levels ["send" ])
111- self .min_receive_trust = TrustState .parse (verification_levels ["receive" ])
112- self .crypto .share_keys_min_trust = self .min_share_trust
113- self .crypto .send_keys_min_trust = self .min_receive_trust
108+ self .crypto .share_keys_min_trust = TrustState .parse (verification_levels ["share" ])
109+ self .crypto .send_keys_min_trust = TrustState .parse (verification_levels ["receive" ])
114110 self .key_sharing_enabled = bridge .config ["bridge.encryption.allow_key_sharing" ]
115111
116112 async def _exit_on_sync_fail (self , data ) -> None :
You can’t perform that action at this time.
0 commit comments