-rw-r--r-- | noncore/net/mail/imapwrapper.cpp | 3 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/mail/imapwrapper.cpp b/noncore/net/mail/imapwrapper.cpp index 11bf3b8..48e476b 100644 --- a/noncore/net/mail/imapwrapper.cpp +++ b/noncore/net/mail/imapwrapper.cpp @@ -30,5 +30,6 @@ void IMAPwrapper::login() /* we are connected this moment */ /* TODO: setup a timer holding the line or if connection closed - delete the value */ - if (m_imap) { + if (m_imap) { + mailstream_flush(m_imap->imap_stream); return; } diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.cpp b/noncore/net/mail/libmailwrapper/imapwrapper.cpp index 11bf3b8..48e476b 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/imapwrapper.cpp @@ -30,5 +30,6 @@ void IMAPwrapper::login() /* we are connected this moment */ /* TODO: setup a timer holding the line or if connection closed - delete the value */ - if (m_imap) { + if (m_imap) { + mailstream_flush(m_imap->imap_stream); return; } |