Skip to content

Commit fc0e792

Browse files
committed
Closed #156; removed code setting message pointers to all read
1 parent ef80a60 commit fc0e792

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

ddoc2.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,15 @@ docIface = {
380380
*/
381381
skip: function () {
382382
// mark all messages as read in current room
383-
var mBase = msg_base.openNewMBase(bbs.cursub_code);
383+
//var mBase = msg_base.openNewMBase(bbs.cursub_code);
384384

385+
/* this is the code that is leaving skip adjusting the message pointers
386+
* that we really don't want to eff with; they need to stay the same
387+
* for the next return to this sub
385388
if (mBase != null) {
386389
msg_area.sub[bbs.cursub_code].scan_ptr = mBase.total_msgs;
387390
mBase.close();
388-
}
391+
} */
389392
// use findNew to change to next room with unread messages
390393
this.findNew();
391394
},

0 commit comments

Comments
 (0)