This commit is contained in:
Igor Katson 2025-01-30 11:24:43 +00:00
parent 62d5288398
commit 3e6c2eae79
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
5 changed files with 36 additions and 24 deletions

View file

@ -996,7 +996,7 @@ impl Session {
name,
} = add_res;
let private = metadata.as_ref().map_or(false, |m| m.info.private);
let private = metadata.as_ref().is_some_and(|m| m.info.private);
let make_peer_rx = || {
self.make_peer_rx(