Skip to content

Commit

Permalink
[FIX] Incorrect parameter name in Livechat stream (#12851)
Browse files Browse the repository at this point in the history
  • Loading branch information
renatobecker authored and sampaiodiego committed Dec 5, 2018
1 parent ccac0b9 commit 406b958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-livechat/.app/client/lib/_livechat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 406b958

Please sign in to comment.