We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fe54a4 commit d43c96eCopy full SHA for d43c96e
1 file changed
src/app/sync.rs
@@ -488,21 +488,18 @@ impl App {
488
}
489
490
// 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!(
+ let peer_ref =
+ match self.resolve_peer_from_session(chat.id, &chat.kind, chat.access_hash) {
+ Some(p) => p,
+ None => {
+ log::debug!(
499
"Skipping chat {} ({}) - not in session cache and no stored access_hash",
500
chat.name,
501
chat.id
502
);
503
- continue;
504
- }
505
- };
+ continue;
+ }
+ };
506
507
chats_processed += 1;
508
0 commit comments