Skip to content

Commit 7f9c6b9

Browse files
committed
comment for None to_id
1 parent cbd4662 commit 7f9c6b9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/receive_imf.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,17 @@ pub(crate) async fn receive_imf_inner(
493493
)
494494
.await?;
495495

496+
// `None` means that the chat is encrypted,
497+
// but we were not able to convert the address
498+
// to PGP-contact, e.g.
499+
// because there wase no corresponding
500+
// Autocrypt-Gossip header.
501+
//
502+
// This way we still preserve remaining
503+
// contact number and positions
504+
// so we can match them contacts to
505+
// e.g. Chat-Group-Member-Timestamps
506+
// header.
496507
let to_ids: Vec<Option<ContactId>>;
497508
let past_ids: Vec<Option<ContactId>>;
498509

0 commit comments

Comments
 (0)