Skip to content

Commit cc5350d

Browse files
committed
rustfmt
1 parent 052b7d0 commit cc5350d

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

src/receive_imf.rs

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,8 +2067,14 @@ async fn create_group(
20672067
}
20682068

20692069
update_chats_contacts_timestamps(
2070-
context, new_chat_id, None,
2071-
&new_to_ids, past_ids, &chat_group_member_timestamps).await?;
2070+
context,
2071+
new_chat_id,
2072+
None,
2073+
&new_to_ids,
2074+
past_ids,
2075+
&chat_group_member_timestamps,
2076+
)
2077+
.await?;
20722078
} else {
20732079
let mut members = vec![ContactId::SELF];
20742080
if !from_id.is_special() {
@@ -2314,9 +2320,15 @@ async fn apply_group_changes(
23142320
let mut removed_ids = HashSet::<ContactId>::new();
23152321

23162322
if let Some(ref chat_group_member_timestamps) = mime_parser.chat_group_member_timestamps() {
2317-
send_event_chat_modified |=
2318-
update_chats_contacts_timestamps(context, chat_id, Some(from_id), to_ids, past_ids, &chat_group_member_timestamps)
2319-
.await?;
2323+
send_event_chat_modified |= update_chats_contacts_timestamps(
2324+
context,
2325+
chat_id,
2326+
Some(from_id),
2327+
to_ids,
2328+
past_ids,
2329+
&chat_group_member_timestamps,
2330+
)
2331+
.await?;
23202332
let new_chat_contacts = HashSet::<ContactId>::from_iter(
23212333
chat::get_chat_contacts(context, chat_id)
23222334
.await?

0 commit comments

Comments
 (0)