{"action":"created","comment":{"url":"https://api.github.com/repos/smooch/smooch-js/pulls/comments/64678015","id":64678015,"diff_hunk":"@@ -25,16 +25,9 @@ const sortMessages = (messages) => messages.sort((messageA, messageB) => {\n });\n \n const addMessage = (messages, message) => {\n-    const existingMessage = messages.find((m) => isEqual(m, message));","path":"src/js/reducers/conversation-reducer.js","position":4,"original_position":4,"commit_id":"d7c3c364cb1d8d410eb4023e61c8f8d02b6cf77f","original_commit_id":"d7c3c364cb1d8d410eb4023e61c8f8d02b6cf77f","user":{"login":"mspensieri","id":2286852,"avatar_url":"https://avatars.githubusercontent.com/u/2286852?v=3","gravatar_id":"","url":"https://api.github.com/users/mspensieri","html_url":"https://github.com/mspensieri","followers_url":"https://api.github.com/users/mspensieri/followers","following_url":"https://api.github.com/users/mspensieri/following{/other_user}","gists_url":"https://api.github.com/users/mspensieri/gists{/gist_id}","starred_url":"https://api.github.com/users/mspensieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mspensieri/subscriptions","organizations_url":"https://api.github.com/users/mspensieri/orgs","repos_url":"https://api.github.com/users/mspensieri/repos","events_url":"https://api.github.com/users/mspensieri/events{/privacy}","received_events_url":"https://api.github.com/users/mspensieri/received_events","type":"User","site_admin":false},"body":"I guess this, and the associated methods, became useless after the check for `source.id` ?","created_at":"2016-05-26T01:02:29Z","updated_at":"2016-05-26T01:02:29Z","html_url":"https://github.com/smooch/smooch-js/pull/257#discussion_r64678015","pull_request_url":"https://api.github.com/repos/smooch/smooch-js/pulls/257","_links":{"self":{"href":"https://api.github.com/repos/smooch/smooch-js/pulls/comments/64678015"},"html":{"href":"https://github.com/smooch/smooch-js/pull/257#discussion_r64678015"},"pull_request":{"href":"https://api.github.com/repos/smooch/smooch-js/pulls/257"}}},"pull_request":{"url":"https://api.github.com/repos/smooch/smooch-js/pulls/257","id":71320270,"html_url":"https://github.com/smooch/smooch-js/pull/257","diff_url":"https://github.com/smooch/smooch-js/pull/257.diff","patch_url":"https://github.com/smooch/smooch-js/pull/257.patch","issue_url":"https://api.github.com/repos/smooch/smooch-js/issues/257","number":257,"state":"open","locked":false,"title":"Display messages sent by appMaker","user":{"login":"chloepouprom","id":4314491,"avatar_url":"https://avatars.githubusercontent.com/u/4314491?v=3","gravatar_id":"","url":"https://api.github.com/users/chloepouprom","html_url":"https://github.com/chloepouprom","followers_url":"https://api.github.com/users/chloepouprom/followers","following_url":"https://api.github.com/users/chloepouprom/following{/other_user}","gists_url":"https://api.github.com/users/chloepouprom/gists{/gist_id}","starred_url":"https://api.github.com/users/chloepouprom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chloepouprom/subscriptions","organizations_url":"https://api.github.com/users/chloepouprom/orgs","repos_url":"https://api.github.com/users/chloepouprom/repos","events_url":"https://api.github.com/users/chloepouprom/events{/privacy}","received_events_url":"https://api.github.com/users/chloepouprom/received_events","type":"User","site_admin":false},"body":"This fixes the regression introduced by #253\r\n- AppMaker messages are sent\r\n- ConversationReducer was re-factored (namely, `isEqual` and `mergeMessages` were removed)\r\n- More tests!\r\n\r\n@lemieux @mspensieri @alavers @jugarrit @liyefei737 @Mario54 ","created_at":"2016-05-25T02:04:40Z","updated_at":"2016-05-26T01:02:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06115482b884d79ac8415d03a693eaf6b1952087","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/smooch/smooch-js/pulls/257/commits","review_comments_url":"https://api.github.com/repos/smooch/smooch-js/pulls/257/comments","review_comment_url":"https://api.github.com/repos/smooch/smooch-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smooch/smooch-js/issues/257/comments","statuses_url":"https://api.github.com/repos/smooch/smooch-js/statuses/d7c3c364cb1d8d410eb4023e61c8f8d02b6cf77f","head":{"label":"smooch:b/appmaker-messages","ref":"b/appmaker-messages","sha":"d7c3c364cb1d8d410eb4023e61c8f8d02b6cf77f","user":{"login":"smooch","id":14301989,"avatar_url":"https://avatars.githubusercontent.com/u/14301989?v=3","gravatar_id":"","url":"https://api.github.com/users/smooch","html_url":"https://github.com/smooch","followers_url":"https://api.github.com/users/smooch/followers","following_url":"https://api.github.com/users/smooch/following{/other_user}","gists_url":"https://api.github.com/users/smooch/gists{/gist_id}","starred_url":"https://api.github.com/users/smooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smooch/subscriptions","organizations_url":"https://api.github.com/users/smooch/orgs","repos_url":"https://api.github.com/users/smooch/repos","events_url":"https://api.github.com/users/smooch/events{/privacy}","received_events_url":"https://api.github.com/users/smooch/received_events","type":"Organization","site_admin":false},"repo":{"id":36675403,"name":"smooch-js","full_name":"smooch/smooch-js","owner":{"login":"smooch","id":14301989,"avatar_url":"https://avatars.githubusercontent.com/u/14301989?v=3","gravatar_id":"","url":"https://api.github.com/users/smooch","html_url":"https://github.com/smooch","followers_url":"https://api.github.com/users/smooch/followers","following_url":"https://api.github.com/users/smooch/following{/other_user}","gists_url":"https://api.github.com/users/smooch/gists{/gist_id}","starred_url":"https://api.github.com/users/smooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smooch/subscriptions","organizations_url":"https://api.github.com/users/smooch/orgs","repos_url":"https://api.github.com/users/smooch/repos","events_url":"https://api.github.com/users/smooch/events{/privacy}","received_events_url":"https://api.github.com/users/smooch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smooch/smooch-js","description":"Smooch lets you have rich conversations with your users, right in your app or on your website.","fork":false,"url":"https://api.github.com/repos/smooch/smooch-js","forks_url":"https://api.github.com/repos/smooch/smooch-js/forks","keys_url":"https://api.github.com/repos/smooch/smooch-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smooch/smooch-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smooch/smooch-js/teams","hooks_url":"https://api.github.com/repos/smooch/smooch-js/hooks","issue_events_url":"https://api.github.com/repos/smooch/smooch-js/issues/events{/number}","events_url":"https://api.github.com/repos/smooch/smooch-js/events","assignees_url":"https://api.github.com/repos/smooch/smooch-js/assignees{/user}","branches_url":"https://api.github.com/repos/smooch/smooch-js/branches{/branch}","tags_url":"https://api.github.com/repos/smooch/smooch-js/tags","blobs_url":"https://api.github.com/repos/smooch/smooch-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smooch/smooch-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smooch/smooch-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/smooch/smooch-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smooch/smooch-js/statuses/{sha}","languages_url":"https://api.github.com/repos/smooch/smooch-js/languages","stargazers_url":"https://api.github.com/repos/smooch/smooch-js/stargazers","contributors_url":"https://api.github.com/repos/smooch/smooch-js/contributors","subscribers_url":"https://api.github.com/repos/smooch/smooch-js/subscribers","subscription_url":"https://api.github.com/repos/smooch/smooch-js/subscription","commits_url":"https://api.github.com/repos/smooch/smooch-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/smooch/smooch-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/smooch/smooch-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/smooch/smooch-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/smooch/smooch-js/contents/{+path}","compare_url":"https://api.github.com/repos/smooch/smooch-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smooch/smooch-js/merges","archive_url":"https://api.github.com/repos/smooch/smooch-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smooch/smooch-js/downloads","issues_url":"https://api.github.com/repos/smooch/smooch-js/issues{/number}","pulls_url":"https://api.github.com/repos/smooch/smooch-js/pulls{/number}","milestones_url":"https://api.github.com/repos/smooch/smooch-js/milestones{/number}","notifications_url":"https://api.github.com/repos/smooch/smooch-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smooch/smooch-js/labels{/name}","releases_url":"https://api.github.com/repos/smooch/smooch-js/releases{/id}","deployments_url":"https://api.github.com/repos/smooch/smooch-js/deployments","created_at":"2015-06-01T17:03:32Z","updated_at":"2016-05-23T07:43:29Z","pushed_at":"2016-05-25T20:23:41Z","git_url":"git://github.com/smooch/smooch-js.git","ssh_url":"git@github.com:smooch/smooch-js.git","clone_url":"https://github.com/smooch/smooch-js.git","svn_url":"https://github.com/smooch/smooch-js","homepage":"https://smooch.io","size":11139,"stargazers_count":64,"watchers_count":64,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":2,"forks":25,"open_issues":2,"watchers":64,"default_branch":"integration"}},"base":{"label":"smooch:integration","ref":"integration","sha":"a7385cef8338c8ef27ef97bf8f0d5744b594eddc","user":{"login":"smooch","id":14301989,"avatar_url":"https://avatars.githubusercontent.com/u/14301989?v=3","gravatar_id":"","url":"https://api.github.com/users/smooch","html_url":"https://github.com/smooch","followers_url":"https://api.github.com/users/smooch/followers","following_url":"https://api.github.com/users/smooch/following{/other_user}","gists_url":"https://api.github.com/users/smooch/gists{/gist_id}","starred_url":"https://api.github.com/users/smooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smooch/subscriptions","organizations_url":"https://api.github.com/users/smooch/orgs","repos_url":"https://api.github.com/users/smooch/repos","events_url":"https://api.github.com/users/smooch/events{/privacy}","received_events_url":"https://api.github.com/users/smooch/received_events","type":"Organization","site_admin":false},"repo":{"id":36675403,"name":"smooch-js","full_name":"smooch/smooch-js","owner":{"login":"smooch","id":14301989,"avatar_url":"https://avatars.githubusercontent.com/u/14301989?v=3","gravatar_id":"","url":"https://api.github.com/users/smooch","html_url":"https://github.com/smooch","followers_url":"https://api.github.com/users/smooch/followers","following_url":"https://api.github.com/users/smooch/following{/other_user}","gists_url":"https://api.github.com/users/smooch/gists{/gist_id}","starred_url":"https://api.github.com/users/smooch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smooch/subscriptions","organizations_url":"https://api.github.com/users/smooch/orgs","repos_url":"https://api.github.com/users/smooch/repos","events_url":"https://api.github.com/users/smooch/events{/privacy}","received_events_url":"https://api.github.com/users/smooch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smooch/smooch-js","description":"Smooch lets you have rich conversations with your users, right in your app or on your website.","fork":false,"url":"https://api.github.com/repos/smooch/smooch-js","forks_url":"https://api.github.com/repos/smooch/smooch-js/forks","keys_url":"https://api.github.com/repos/smooch/smooch-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smooch/smooch-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smooch/smooch-js/teams","hooks_url":"https://api.github.com/repos/smooch/smooch-js/hooks","issue_events_url":"https://api.github.com/repos/smooch/smooch-js/issues/events{/number}","events_url":"https://api.github.com/repos/smooch/smooch-js/events","assignees_url":"https://api.github.com/repos/smooch/smooch-js/assignees{/user}","branches_url":"https://api.github.com/repos/smooch/smooch-js/branches{/branch}","tags_url":"https://api.github.com/repos/smooch/smooch-js/tags","blobs_url":"https://api.github.com/repos/smooch/smooch-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smooch/smooch-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smooch/smooch-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/smooch/smooch-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smooch/smooch-js/statuses/{sha}","languages_url":"https://api.github.com/repos/smooch/smooch-js/languages","stargazers_url":"https://api.github.com/repos/smooch/smooch-js/stargazers","contributors_url":"https://api.github.com/repos/smooch/smooch-js/contributors","subscribers_url":"https://api.github.com/repos/smooch/smooch-js/subscribers","subscription_url":"https://api.github.com/repos/smooch/smooch-js/subscription","commits_url":"https://api.github.com/repos/smooch/smooch-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/smooch/smooch-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/smooch/smooch-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/smooch/smooch-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/smooch/smooch-js/contents/{+path}","compare_url":"https://api.github.com/repos/smooch/smooch-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smooch/smooch-js/merges","archive_url":"https://api.github.com/repos/smooch/smooch-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smooch/smooch-js/downloads","issues_url":"https://api.github.com/repos/smooch/smooch-js/issues{/number}","pulls_url":"https://api.github.com/repos/smooch/smooch-js/pulls{/number}","milestones_url":"https://api.github.com/repos/smooch/smooch-js/milestones{/number}","notifications_url":"https://api.github.com/repos/smooch/smooch-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smooch/smooch-js/labels{/name}","releases_url":"https://api.github.com/repos/smooch/smooch-js/releases{/id}","deployments_url":"https://api.github.com/repos/smooch/smooch-js/deployments","created_at":"2015-06-01T17:03:32Z","updated_at":"2016-05-23T07:43:29Z","pushed_at":"2016-05-25T20:23:41Z","git_url":"git://github.com/smooch/smooch-js.git","ssh_url":"git@github.com:smooch/smooch-js.git","clone_url":"https://github.com/smooch/smooch-js.git","svn_url":"https://github.com/smooch/smooch-js","homepage":"https://smooch.io","size":11139,"stargazers_count":64,"watchers_count":64,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":2,"forks":25,"open_issues":2,"watchers":64,"default_branch":"integration"}},"_links":{"self":{"href":"https://api.github.com/repos/smooch/smooch-js/pulls/257"},"html":{"href":"https://github.com/smooch/smooch-js/pull/257"},"issue":{"href":"https://api.github.com/repos/smooch/smooch-js/issues/257"},"comments":{"href":"https://api.github.com/repos/smooch/smooch-js/issues/257/comments"},"review_comments":{"href":"https://api.github.com/repos/smooch/smooch-js/pulls/257/comments"},"review_comment":{"href":"https://api.github.com/repos/smooch/smooch-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smooch/smooch-js/pulls/257/commits"},"statuses":{"href":"https://api.github.com/repos/smooch/smooch-js/statuses/d7c3c364cb1d8d410eb4023e61c8f8d02b6cf77f"}}}}
{"actor":{"display_login":"mspensieri"}}