Skip to content

Commit 67eb545

Browse files
committed
v3.1.2
1 parent 466ee82 commit 67eb545

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

app/tools/imap.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,8 @@ class ImapServerSwitchStream extends Stream.Transform {
365365
case '+':
366366
case '*': {
367367
timers_1.clearTimeout(this.idleResponsrTime);
368-
if (/^RECENT$|^FETCH$|^EXISTS$|^EXPUNGE$/i.test(cmdArray[2])) {
368+
if (/^RECENT$|^EXISTS$/i.test(cmdArray[2]) || this.isWaitLogout) {
369369
newSwitchRet = true;
370-
}
371-
if (/^RECENT$/i.test(cmdArray[2]) || this.isWaitLogout) {
372370
this.idleDoingDown();
373371
}
374372
return callback();

app/tools/imap.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -446,11 +446,9 @@ class ImapServerSwitchStream extends Stream.Transform {
446446
case '+':
447447
case '*': {
448448
clearTimeout ( this.idleResponsrTime )
449-
if ( /^RECENT$|^FETCH$|^EXISTS$|^EXPUNGE$/i.test ( cmdArray[2] )) {
450-
451-
newSwitchRet = true
452-
}
453-
if ( /^RECENT$/i.test ( cmdArray[2] ) || this.isWaitLogout ) {
449+
450+
if ( /^RECENT$|^EXISTS$/i.test ( cmdArray[2] ) || this.isWaitLogout ) {
451+
newSwitchRet = true
454452
this.idleDoingDown()
455453

456454
}

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717
Object.defineProperty(exports, "__esModule", { value: true });
18-
const DEBUG = true;
18+
const DEBUG = false;
1919
const port = 3000;
2020
const path_1 = require("path");
2121
const url_1 = require("url");

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
const DEBUG = true
17+
const DEBUG = false
1818
const port = 3000
1919

2020
import { join } from 'path'

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "conet",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"license": "MIT",
55
"description": "CoNET platform",
66
"scripts": {
@@ -47,7 +47,7 @@
4747
"icon": "resources/qtgate"
4848
},
4949
"dmg": {
50-
"backgroundColor": "#ffffff",
50+
"backgroundColor": "#ffffff",
5151
"contents": [
5252
{
5353
"x": 110,

0 commit comments

Comments
 (0)