mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 18:36:30 +03:00
Add comment
This commit is contained in:
committed by
link2xt
parent
801250a9e0
commit
04daff0608
@@ -394,6 +394,9 @@ async fn get_backup_inner(context: &Context, qr: Qr) -> Result<()> {
|
||||
if ticket.addrs.is_empty() {
|
||||
bail!("ticket is missing addresses to dial");
|
||||
}
|
||||
|
||||
// Crude sorting, most local wifi's are in the 192.168.0.0/24 range so this will try
|
||||
// them first.
|
||||
ticket.addrs.sort_by(|a, b| {
|
||||
let a = a.to_string();
|
||||
let b = b.to_string();
|
||||
|
||||
Reference in New Issue
Block a user