From 406b9587abb79837908f0c44c4068187a5736c64 Mon Sep 17 00:00:00 2001 From: Renato Becker Date: Wed, 5 Dec 2018 11:54:44 -0200 Subject: [PATCH] [FIX] Incorrect parameter name in Livechat stream (#12851) --- packages/rocketchat-livechat/.app/client/lib/_livechat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rocketchat-livechat/.app/client/lib/_livechat.js b/packages/rocketchat-livechat/.app/client/lib/_livechat.js index f9581b3cfaa65..a53a9ed98d1dd 100644 --- a/packages/rocketchat-livechat/.app/client/lib/_livechat.js +++ b/packages/rocketchat-livechat/.app/client/lib/_livechat.js @@ -53,7 +53,7 @@ this.Livechat = new (class Livechat { this._agent.set(result); } }); - this.stream.on(this._room.get(), { token: visitor.getToken() }, (eventData) => { + this.stream.on(this._room.get(), { visitorToken: visitor.getToken() }, (eventData) => { if (!eventData || !eventData.type) { return; }