diff --git a/packages/rocketchat-livechat/.app/client/lib/_livechat.js b/packages/rocketchat-livechat/.app/client/lib/_livechat.js index eb3a93f19911..3a100feb3acb 100644 --- a/packages/rocketchat-livechat/.app/client/lib/_livechat.js +++ b/packages/rocketchat-livechat/.app/client/lib/_livechat.js @@ -49,7 +49,7 @@ this.Livechat = new (class Livechat { this._agent.set(result); } }); - this.stream.on(this._room.get(), { visitorToken: visitor.getToken() }, (eventData) => { + this.stream.on(this._room.get(), { token: visitor.getToken() }, (eventData) => { if (!eventData || !eventData.type) { return; }