-
Notifications
You must be signed in to change notification settings - Fork 1
New Message Scan Routine
Damon Getsman edited this page Aug 17, 2015
·
2 revisions
This page is for documenting the control flow for the process of scanning for new messages.
-
ddoc2.js - entry point found in primary flow control; any of the appropriate keystrokes will be passed on via
msg_base.entry_level.handler(uchoice); -
dmbase.js -
msg_base.entry_level.handler()passes off control (for the keystroke n) tomsg_base.readNew()(which has been moved to withinmsg_base.read_cmd) -
dmbase.js -
msg_base.readNew()passes off control toscanSub(), providedmsg_area.sub[bbs.cursub_code].scan_ptr < mBase.last_msg; NOTE that this is potentially causing issues when the last message is deleted or null -
dmbase.js -
msg_base.readNew(), afterscanSub()has completed its task, callsdocIface.nav.findNew() -
ddoc2.js -
docIface.nav.findNew()