Files
chatmail-core/src
Hocuri a9f5077cf9 Make scan_folders work when inbox is not watched (#2446)
When watch_inbox was off, scan_folders failed and a toast "IMAP operation attempted while it is torn down" was shown.

--

The problem was:

When inbox_watch is off, scan_folders() is called at 244260a978/src/scheduler.rs (L107) but connect_configured() is not called before.



* Add test

* Don't only setup handle, but connect_configured() in scan_folders()
2021-05-16 22:18:38 +02:00
..
2021-04-23 22:45:45 +03:00
2021-04-23 22:45:45 +03:00
2021-05-03 23:01:06 +03:00
2021-01-12 12:06:13 +03:00
2021-04-25 22:33:14 +03:00
2021-04-12 21:33:52 +03:00
2021-04-25 22:33:14 +03:00
2021-04-25 22:33:14 +03:00
2021-05-03 23:01:06 +03:00
2021-01-12 12:06:13 +03:00
2021-04-25 22:33:14 +03:00
2021-04-25 22:33:14 +03:00
2021-01-24 17:29:52 +03:00
2021-05-15 17:15:13 +03:00
2021-02-11 13:57:49 +03:00
2021-05-03 23:01:06 +03:00
2021-05-03 23:01:06 +03:00