Aleksander Machniak
2014-12-25 6ca090b341d0ea9f263b133a9c7f76a01a61844f
Add _mbox parameter to the 'mark' request sent after opening a message
1 files modified
2 ■■■ changed files
program/js/app.js 2 ●●● patch | view | raw | blame | history
program/js/app.js
@@ -2261,7 +2261,7 @@
      if (preview && this.message_list && this.message_list.rows[id] && this.message_list.rows[id].unread && this.env.preview_pane_mark_read > 0) {
        this.preview_read_timer = setTimeout(function() {
          ref.set_unread_message(id, ref.env.mailbox);
          ref.http_post('mark', {_uid: id, _flag: 'read', _quiet: 1});
          ref.http_post('mark', {_uid: id, _flag: 'read', _mbox: ref.env.mailbox, _quiet: 1});
        }, this.env.preview_pane_mark_read * 1000);
      }
    }