IMAP commands are serialized using the BLooper message queue. MarkMessageAsRead used the direct way to access the protocol and so interfered with ongoing requests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40606 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
379df1cc3c
commit
7398688a5e
@ -437,8 +437,8 @@ MailDaemonApp::MessageReceived(BMessage* msg)
|
||||
AccountMap::iterator it = fAccounts.find(account);
|
||||
if (it == fAccounts.end())
|
||||
break;
|
||||
InboundProtocol* inboundProtocol = it->second.inboundProtocol;
|
||||
inboundProtocol->MarkMessageAsRead(ref, read);
|
||||
InboundProtocolThread* inboundThread = it->second.inboundThread;
|
||||
inboundThread->MarkMessageAsRead(ref, read);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user