Skip to content

Commit 6d47b7b

Browse files
shenjackyuanjiemoonrailgun
authored andcommitted
chore: useMsgpack -> disableMsgpack
1 parent a4180ae commit 6d47b7b

File tree

1 file changed

+2
-2
lines changed
  • client/packages/tailchat-client-sdk/src/openapi/client

1 file changed

+2
-2
lines changed

client/packages/tailchat-client-sdk/src/openapi/client/ws.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class TailchatWsClient extends TailchatBaseClient {
1010
public url: string,
1111
public appId: string,
1212
public appSecret: string,
13-
public useMsgpack: boolean = true
13+
public disableMsgpack: boolean = false
1414
) {
1515
super(url, appId, appSecret);
1616
}
@@ -26,7 +26,7 @@ export class TailchatWsClient extends TailchatBaseClient {
2626
token,
2727
},
2828
forceNew: true,
29-
parser: this.useMsgpack ? msgpackParser : undefined,
29+
parser: this.disableMsgpack ? undefined : msgpackParser,
3030
}));
3131

3232
socket.once('connect', () => {

0 commit comments

Comments
 (0)