add-ons/mail-daemon: IMAP: fix folder not selected bug on fetch req

As the IMAP connection handler disconnects when idle, it loses the
folder state at that time - however, it wasn't resetting it's internal
folder selected flag.  This is now fixed.

Change-Id: Ib56f55664ab5d7383a13705a8f4a8585b29f2c92
Reviewed-on: https://review.haiku-os.org/627
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Stephan Aßmus <[email protected]>
This commit is contained in:
Kuroneko
2018-10-17 19:25:00 +00:00
committed by waddlesplash
parent 3074920054
commit f0d35c6dbf
@@ -865,6 +865,7 @@ void
IMAPConnectionWorker::_Disconnect()
{
fProtocol.Disconnect();
fSelectedBox = NULL;
}