hrev52404 adds 1 changeset to branch 'master'
old head: 3074920054aa7a1ed9ee828632b19ed659b9c3e8
new head: f0d35c6dbf28a35de86d9d33cbcd7a24cdebfe9e
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=f0d35c6dbf28+%5E3074920054aa
----------------------------------------------------------------------------
f0d35c6dbf28: 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 <waddlesplash@xxxxxxxxx>
Reviewed-by: Stephan Aßmus <superstippi@xxxxxx>
[ Kuroneko <kuroneko@xxxxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev52404
Commit: f0d35c6dbf28a35de86d9d33cbcd7a24cdebfe9e
URL: https://git.haiku-os.org/haiku/commit/?id=f0d35c6dbf28
Author: Kuroneko <kuroneko@xxxxxxxxxxxxxxx>
Date: Thu Oct 11 22:35:20 2018 UTC
Committer: waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Wed Oct 17 19:25:00 2018 UTC
----------------------------------------------------------------------------
1 file changed, 1 insertion(+)
.../mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp | 1 +
----------------------------------------------------------------------------
diff --git
a/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp
b/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp
index 308d08c761..ba0c2c2f82 100644
--- a/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp
+++ b/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp
@@ -865,6 +865,7 @@ void
IMAPConnectionWorker::_Disconnect()
{
fProtocol.Disconnect();
+ fSelectedBox = NULL;
}