Fix JAM active messages counter on restoring deleted messages
This commit is contained in:
parent
6d4938356e
commit
4b6129ddc0
@ -12,6 +12,9 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
- Fixed active messages counter for JAM messagebases if message
|
||||
restored by removing DEL attribute.
|
||||
|
||||
! Ignore RRq attribute. We will process only Cfm now: RRq should be
|
||||
processed by mailer/tosser/tracker according to the attribute
|
||||
intension.
|
||||
|
@ -386,7 +386,7 @@ void JamArea::save_message(int __mode, gmsg* __msg, JamHdr& __hdr) {
|
||||
throw_release(_subfield);
|
||||
|
||||
// Update the header info
|
||||
if(__mode & GMSG_NEW)
|
||||
if((__mode & GMSG_NEW) or (was_deleted and not __msg->attr.del()))
|
||||
data->hdrinfo.activemsgs++;
|
||||
data->hdrinfo.modcounter++;
|
||||
lseekset(data->fhjhr, 0);
|
||||
|
Reference in New Issue
Block a user