Add readOnly to definition and in resetBox()

fork
Brian White 12 years ago
parent 260df2ffd0
commit 8370471c58

@ -65,6 +65,7 @@ function ImapConnection (options) {
},
box: {
uidnext: 0,
readOnly: false,
flags: [],
newKeywords: false,
uidvalidity: 0,
@ -1247,6 +1248,7 @@ ImapConnection.prototype._reset = function() {
ImapConnection.prototype._resetBox = function() {
this._state.box.uidnext = 0;
this._state.box.readOnly = false;
this._state.box.flags = [];
this._state.box.newKeywords = false;
this._state.box.uidvalidity = 0;

Loading…
Cancel
Save