dgets / DOCshell

Damo's version of the DOC (Citadel-esque) shell, in JavaScript, for use with Synchronet 3.14+ systems
https://www.pivotaltracker.com/n/projects/1206002
4 stars 1 forks source link

Mail> always starts at the first message #222

Closed dgets closed 9 years ago

dgets commented 9 years ago

This might have to be clumped in with the issues in #128. Pointers are not consulted properly, and the Mail> reading process, whether after a posting or just after jumping to Mail>, always starts at message 0/1.

dgets commented 9 years ago

Trying work on this right now. Broke a few more things on the way to heaven:

bbs-mail-autologout-broken

dgets commented 9 years ago

Got another commit going in that rips out a lot of the broken crap that I just inadvertently put in there. Not everything is back to normal yet, though. Here's where we're at right now (still got the logout request and all):

bbs-mail-autologout-broken2

Next commit logged below is of this phase right here.

dgets commented 9 years ago

It looks like issues with this were due to attempting to use the msg_area.sub["mail"] object in order to determine the last read pointer. With commit: https://github.com/dgets/DOCshell/commit/98301399627ef55e5673c6f797fb6dde91f079d9, I've managed to regress some of the code to the point where, once again, Mail> functionality is restored (though always starting from 0/1 again). I'll be consulting DOVE-Net to try to figure out what the usual approach is to handling this issue.

dgets commented 9 years ago

Intimately related to issue #228.