Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Jan 11, 2025
1 parent 052b7d0 commit cc5350d
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions src/receive_imf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2067,8 +2067,14 @@ async fn create_group(
}

update_chats_contacts_timestamps(
context, new_chat_id, None,
&new_to_ids, past_ids, &chat_group_member_timestamps).await?;
context,
new_chat_id,
None,
&new_to_ids,
past_ids,
&chat_group_member_timestamps,
)
.await?;
} else {
let mut members = vec![ContactId::SELF];
if !from_id.is_special() {
Expand Down Expand Up @@ -2314,9 +2320,15 @@ async fn apply_group_changes(
let mut removed_ids = HashSet::<ContactId>::new();

if let Some(ref chat_group_member_timestamps) = mime_parser.chat_group_member_timestamps() {
send_event_chat_modified |=
update_chats_contacts_timestamps(context, chat_id, Some(from_id), to_ids, past_ids, &chat_group_member_timestamps)
.await?;
send_event_chat_modified |= update_chats_contacts_timestamps(
context,
chat_id,
Some(from_id),
to_ids,
past_ids,
&chat_group_member_timestamps,
)
.await?;
let new_chat_contacts = HashSet::<ContactId>::from_iter(
chat::get_chat_contacts(context, chat_id)
.await?
Expand Down

0 comments on commit cc5350d

Please sign in to comment.