mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
implement UndoDelete() method
This commit is contained in:
parent
20f1d6c957
commit
0a08b501ff
@ -984,7 +984,12 @@ NS_IMETHODIMP nsMsgDatabase::DeleteHeader(nsIMsgDBHdr *msg, nsIDBChangeListener
|
||||
NS_IMETHODIMP
|
||||
nsMsgDatabase::UndoDelete(nsIMsgDBHdr *msgHdr)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
if (msgHdr)
|
||||
{
|
||||
SetHdrFlag(msgHdr, FALSE, MSG_FLAG_EXPUNGED);
|
||||
// ** do we need to update folder info regarding the message size
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user