Skip to content

Commit

Permalink
Merge pull request #9772 from RocketChat/fix-livechat-start-conversat…
Browse files Browse the repository at this point in the history
…ion-without-register-form

[FIX] Livechat conversation not receiving messages when start without form
  • Loading branch information
sampaiodiego committed Feb 20, 2018
1 parent c620502 commit 6f8d3fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ this.ChatMessages = class ChatMessages {
return showError(error.reason);
}

visitor.setId(result._id);
visitor.setId(result.userId);
sendMessage();
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-livechat/.app/client/views/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Template.messages.events({
return console.log(error.reason);
}

visitor.setId(result._id);
visitor.setId(result.userId);
LivechatVideoCall.request();
});
} else {
Expand Down

0 comments on commit 6f8d3fc

Please sign in to comment.