Skip to content

Commit 246b5a1

Browse files
committed
fix: create past group members with Origin::Hidden
1 parent 06630a1 commit 246b5a1

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/receive_imf.rs

+3-12
Original file line numberDiff line numberDiff line change
@@ -346,18 +346,9 @@ pub(crate) async fn receive_imf_inner(
346346
},
347347
)
348348
.await?;
349-
let past_ids = add_or_lookup_contacts_by_address_list(
350-
context,
351-
&mime_parser.past_members,
352-
if !mime_parser.incoming {
353-
Origin::OutgoingTo
354-
} else if incoming_origin.is_known() {
355-
Origin::IncomingTo
356-
} else {
357-
Origin::IncomingUnknownTo
358-
},
359-
)
360-
.await?;
349+
let past_ids =
350+
add_or_lookup_contacts_by_address_list(context, &mime_parser.past_members, Origin::Hidden)
351+
.await?;
361352

362353
update_verified_keys(context, &mut mime_parser, from_id).await?;
363354

0 commit comments

Comments
 (0)