Skip to content

Commit

Permalink
Don't assume ACI in Envelope debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
direc85 committed Jun 25, 2024
1 parent b4e5a71 commit 78bf513
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions libsignal-service/src/cipher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,13 @@ fn debug_envelope(envelope: &Envelope) -> String {
} else {
format!(
"Envelope {{ \
source_address: {}, \
source_address: {:?}, \
source_device: {:?}, \
server_guid: {:?}, \
timestamp: {:?}, \
content: {} bytes, \
}}",
if envelope.source_service_id.is_some() {
format!("{:?}", envelope.source_address())
} else {
"unknown".to_string()
},
envelope.source_service_id,
envelope.source_device(),
envelope.server_guid(),
envelope.timestamp(),
Expand Down

0 comments on commit 78bf513

Please sign in to comment.