Skip to content

Commit d43c96e

Browse files
committed
style: fix formatting
1 parent 1fe54a4 commit d43c96e

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

src/app/sync.rs

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -488,21 +488,18 @@ impl App {
488488
}
489489

490490
// Try to resolve peer from session or stored access_hash (no API call)
491-
let peer_ref = match self.resolve_peer_from_session(
492-
chat.id,
493-
&chat.kind,
494-
chat.access_hash,
495-
) {
496-
Some(p) => p,
497-
None => {
498-
log::debug!(
491+
let peer_ref =
492+
match self.resolve_peer_from_session(chat.id, &chat.kind, chat.access_hash) {
493+
Some(p) => p,
494+
None => {
495+
log::debug!(
499496
"Skipping chat {} ({}) - not in session cache and no stored access_hash",
500497
chat.name,
501498
chat.id
502499
);
503-
continue;
504-
}
505-
};
500+
continue;
501+
}
502+
};
506503

507504
chats_processed += 1;
508505

0 commit comments

Comments
 (0)