Skip to content

Commit 500fc8a

Browse files
committed
Merge pull request #167 from dgets/hotfix
Closed #156; removed code setting message pointers to all read
2 parents b03f4d2 + fc0e792 commit 500fc8a

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
@@ -381,12 +381,15 @@ docIface = {
381381
*/
382382
skip: function () {
383383
// mark all messages as read in current room
384-
var mBase = msg_base.openNewMBase(bbs.cursub_code);
384+
//var mBase = msg_base.openNewMBase(bbs.cursub_code);
385385

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

0 commit comments

Comments
 (0)