Implemented the SCAN_UNREAD mode bit for scansubs(), scanallsubs(),
scanposts(), and listsub(). These functions are exposed in the JS 'bbs' object as scan_subs(), scan_msgs(), and list_msgs(). Wherease previously, all of "your messages" (messages addressed to you) would be found/displayed if the user answered (Y)es to the "Subjects Only?" prompt, and only un-read message (to you) would be displayed if they answered (N)o to the "Subjects Only?", providing long-standing confusion about the different behavior, now the user is prompted whether to display un-read messages only (in scansubs/scanallsubs), and in the case of the logon question to "Search all subs for un-read messages to you?", only un-read messages are listed/displayed, regardless of how the user answers the "Subjects Only?" question. SCAN_UNREAD is only applicable when combined with SCAN_TOYOU. Added new commands to the msg reading prompt: 'N' (list new messages), 'U' list un-read messages to-you. 2 new text.dat entries: DisplayUnreadMessagesOnlyQ and NoMessagesFound
Showing
- src/sbbs3/logon.cpp 2 additions, 2 deletionssrc/sbbs3/logon.cpp
- src/sbbs3/pack_qwk.cpp 5 additions, 5 deletionssrc/sbbs3/pack_qwk.cpp
- src/sbbs3/pack_rep.cpp 3 additions, 3 deletionssrc/sbbs3/pack_rep.cpp
- src/sbbs3/readmsgs.cpp 87 additions, 60 deletionssrc/sbbs3/readmsgs.cpp
- src/sbbs3/sbbs.h 10 additions, 10 deletionssrc/sbbs3/sbbs.h
- src/sbbs3/sbbsdefs.h 5 additions, 1 deletionsrc/sbbs3/sbbsdefs.h
- src/sbbs3/scansubs.cpp 19 additions, 12 deletionssrc/sbbs3/scansubs.cpp
- src/sbbs3/text.h 3 additions, 1 deletionsrc/sbbs3/text.h
- src/sbbs3/text_defaults.c 4 additions, 2 deletionssrc/sbbs3/text_defaults.c
Loading
Please register or sign in to comment