зеркало из https://github.com/mozilla/pjs.git
Bug #75866 --> Mark a message as read in JS instead of once for each mail protocol to simplify code.
Hookup the JS function to a timer to allow users to only mark messages as read after they have been viewed in the preview pane for a configurable number of seconds. sr=bienvenu
This commit is contained in:
Родитель
dbfa473488
Коммит
403da9f1a9
|
@ -3783,9 +3783,7 @@ nsImapMailFolder::NormalEndMsgWriteStream(nsMsgKey uidOfMessage,
|
|||
if (m_offlineHeader)
|
||||
EndNewOfflineMessage();
|
||||
|
||||
nsCOMPtr<nsIMsgDBHdr> msgHdr;
|
||||
m_curMsgUid = uidOfMessage;
|
||||
res = GetMessageHeader(m_curMsgUid, getter_AddRefs(msgHdr));
|
||||
|
||||
if (commit && mDatabase)
|
||||
mDatabase->Commit(nsMsgDBCommitType::kLargeCommit);
|
||||
|
|
Загрузка…
Ссылка в новой задаче