Skip to content

Commit

Permalink
[FIX] Livechat agent joining on pick from guest pool (#12097)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimpson authored and sampaiodiego committed Sep 20, 2018
1 parent 55e28b2 commit 933378a
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 @@ -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;
}
Expand Down

0 comments on commit 933378a

Please sign in to comment.