fix formatting

This commit is contained in:
Simon Laux
2023-06-19 18:26:51 +02:00
parent a76a7ae781
commit 7483aa532b
3 changed files with 11 additions and 4 deletions

View File

@@ -698,7 +698,9 @@ impl Peerstate {
context.emit_event(EventType::UIChatListChanged);
// update the chats the contact is part of
for chat_id in Contact::get_chats_with_contact(context, &contact_id).await? {
context.emit_event(EventType::UIChatListItemChanged { chat_id: Some(chat_id) });
context.emit_event(EventType::UIChatListItemChanged {
chat_id: Some(chat_id),
});
}
Ok(())
}