Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

👽 disable fragmentOutgoingMessages #2

Merged
merged 1 commit into from
Jul 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ module.exports = class CQWebsocket extends $Callable {
this._qq = $safe.int(parseInt(qq))

this._eventBus = new $CQEventBus(this)
this._eventClient = this._event ? new $WebsocketClient() : null
this._apiClient = this._api ? new $WebsocketClient() : null
this._eventClient = this._event ? new $WebsocketClient({ fragmentOutgoingMessages: false }) : null
this._apiClient = this._api ? new $WebsocketClient({ fragmentOutgoingMessages: false }) : null

if (this._eventClient) {
this._eventClient
Expand Down