{"action":"closed","number":582,"pull_request":{"url":"https://api.github.com/repos/yegor256/netbout/pulls/582","id":33214864,"html_url":"https://github.com/yegor256/netbout/pull/582","diff_url":"https://github.com/yegor256/netbout/pull/582.diff","patch_url":"https://github.com/yegor256/netbout/pull/582.patch","issue_url":"https://api.github.com/repos/yegor256/netbout/issues/582","number":582,"state":"closed","locked":false,"title":"Don't send redundant emails","user":{"login":"ndbroadbent","id":139536,"avatar_url":"https://avatars.githubusercontent.com/u/139536?v=3","gravatar_id":"","url":"https://api.github.com/users/ndbroadbent","html_url":"https://github.com/ndbroadbent","followers_url":"https://api.github.com/users/ndbroadbent/followers","following_url":"https://api.github.com/users/ndbroadbent/following{/other_user}","gists_url":"https://api.github.com/users/ndbroadbent/gists{/gist_id}","starred_url":"https://api.github.com/users/ndbroadbent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndbroadbent/subscriptions","organizations_url":"https://api.github.com/users/ndbroadbent/orgs","repos_url":"https://api.github.com/users/ndbroadbent/repos","events_url":"https://api.github.com/users/ndbroadbent/events{/privacy}","received_events_url":"https://api.github.com/users/ndbroadbent/received_events","type":"User","site_admin":false},"body":"~~I think the `Messages` interface should be refactored so that the `post` method also takes a `sender` param, so that we can compare the `friend` alias with the `sender` alias. I have added a failing test (with `@Ignore` and a `@todo`).~~\r\n\r\n**UPDATE**: I wanted to finish the task, just to learn more about the codebase.\r\n\r\nI solved it by adding a chain of \"self\" aliases from `EmAlias` up to `EmMessages`, copying the pattern from the dynamo service implementations.\r\n\r\nFixes #548 ","created_at":"2015-04-13T23:50:31Z","updated_at":"2015-05-22T06:39:33Z","closed_at":"2015-05-22T06:39:33Z","merged_at":null,"merge_commit_sha":"b04a6680d27c60eab1275ff029f6d96659044042","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yegor256/netbout/pulls/582/commits","review_comments_url":"https://api.github.com/repos/yegor256/netbout/pulls/582/comments","review_comment_url":"https://api.github.com/repos/yegor256/netbout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yegor256/netbout/issues/582/comments","statuses_url":"https://api.github.com/repos/yegor256/netbout/statuses/1da4591e33f136fd8ec80f840ff2883213f39f8d","head":{"label":"ndbroadbent:fix_redundant_emails","ref":"fix_redundant_emails","sha":"1da4591e33f136fd8ec80f840ff2883213f39f8d","user":{"login":"ndbroadbent","id":139536,"avatar_url":"https://avatars.githubusercontent.com/u/139536?v=3","gravatar_id":"","url":"https://api.github.com/users/ndbroadbent","html_url":"https://github.com/ndbroadbent","followers_url":"https://api.github.com/users/ndbroadbent/followers","following_url":"https://api.github.com/users/ndbroadbent/following{/other_user}","gists_url":"https://api.github.com/users/ndbroadbent/gists{/gist_id}","starred_url":"https://api.github.com/users/ndbroadbent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndbroadbent/subscriptions","organizations_url":"https://api.github.com/users/ndbroadbent/orgs","repos_url":"https://api.github.com/users/ndbroadbent/repos","events_url":"https://api.github.com/users/ndbroadbent/events{/privacy}","received_events_url":"https://api.github.com/users/ndbroadbent/received_events","type":"User","site_admin":false},"repo":{"id":33890371,"name":"netbout","full_name":"ndbroadbent/netbout","owner":{"login":"ndbroadbent","id":139536,"avatar_url":"https://avatars.githubusercontent.com/u/139536?v=3","gravatar_id":"","url":"https://api.github.com/users/ndbroadbent","html_url":"https://github.com/ndbroadbent","followers_url":"https://api.github.com/users/ndbroadbent/followers","following_url":"https://api.github.com/users/ndbroadbent/following{/other_user}","gists_url":"https://api.github.com/users/ndbroadbent/gists{/gist_id}","starred_url":"https://api.github.com/users/ndbroadbent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndbroadbent/subscriptions","organizations_url":"https://api.github.com/users/ndbroadbent/orgs","repos_url":"https://api.github.com/users/ndbroadbent/repos","events_url":"https://api.github.com/users/ndbroadbent/events{/privacy}","received_events_url":"https://api.github.com/users/ndbroadbent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ndbroadbent/netbout","description":"Private talks made easy","fork":true,"url":"https://api.github.com/repos/ndbroadbent/netbout","forks_url":"https://api.github.com/repos/ndbroadbent/netbout/forks","keys_url":"https://api.github.com/repos/ndbroadbent/netbout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndbroadbent/netbout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndbroadbent/netbout/teams","hooks_url":"https://api.github.com/repos/ndbroadbent/netbout/hooks","issue_events_url":"https://api.github.com/repos/ndbroadbent/netbout/issues/events{/number}","events_url":"https://api.github.com/repos/ndbroadbent/netbout/events","assignees_url":"https://api.github.com/repos/ndbroadbent/netbout/assignees{/user}","branches_url":"https://api.github.com/repos/ndbroadbent/netbout/branches{/branch}","tags_url":"https://api.github.com/repos/ndbroadbent/netbout/tags","blobs_url":"https://api.github.com/repos/ndbroadbent/netbout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndbroadbent/netbout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndbroadbent/netbout/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndbroadbent/netbout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndbroadbent/netbout/statuses/{sha}","languages_url":"https://api.github.com/repos/ndbroadbent/netbout/languages","stargazers_url":"https://api.github.com/repos/ndbroadbent/netbout/stargazers","contributors_url":"https://api.github.com/repos/ndbroadbent/netbout/contributors","subscribers_url":"https://api.github.com/repos/ndbroadbent/netbout/subscribers","subscription_url":"https://api.github.com/repos/ndbroadbent/netbout/subscription","commits_url":"https://api.github.com/repos/ndbroadbent/netbout/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndbroadbent/netbout/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndbroadbent/netbout/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndbroadbent/netbout/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndbroadbent/netbout/contents/{+path}","compare_url":"https://api.github.com/repos/ndbroadbent/netbout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndbroadbent/netbout/merges","archive_url":"https://api.github.com/repos/ndbroadbent/netbout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndbroadbent/netbout/downloads","issues_url":"https://api.github.com/repos/ndbroadbent/netbout/issues{/number}","pulls_url":"https://api.github.com/repos/ndbroadbent/netbout/pulls{/number}","milestones_url":"https://api.github.com/repos/ndbroadbent/netbout/milestones{/number}","notifications_url":"https://api.github.com/repos/ndbroadbent/netbout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndbroadbent/netbout/labels{/name}","releases_url":"https://api.github.com/repos/ndbroadbent/netbout/releases{/id}","created_at":"2015-04-13T19:54:25Z","updated_at":"2015-04-13T19:54:26Z","pushed_at":"2015-05-20T05:37:25Z","git_url":"git://github.com/ndbroadbent/netbout.git","ssh_url":"git@github.com:ndbroadbent/netbout.git","clone_url":"https://github.com/ndbroadbent/netbout.git","svn_url":"https://github.com/ndbroadbent/netbout","homepage":"www.netbout.com","size":16255,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yegor256:master","ref":"master","sha":"280f9dfda38e69572e60511129e05dff4f91695c","user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"repo":{"id":9580819,"name":"netbout","full_name":"yegor256/netbout","owner":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yegor256/netbout","description":"Private talks made easy","fork":false,"url":"https://api.github.com/repos/yegor256/netbout","forks_url":"https://api.github.com/repos/yegor256/netbout/forks","keys_url":"https://api.github.com/repos/yegor256/netbout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yegor256/netbout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yegor256/netbout/teams","hooks_url":"https://api.github.com/repos/yegor256/netbout/hooks","issue_events_url":"https://api.github.com/repos/yegor256/netbout/issues/events{/number}","events_url":"https://api.github.com/repos/yegor256/netbout/events","assignees_url":"https://api.github.com/repos/yegor256/netbout/assignees{/user}","branches_url":"https://api.github.com/repos/yegor256/netbout/branches{/branch}","tags_url":"https://api.github.com/repos/yegor256/netbout/tags","blobs_url":"https://api.github.com/repos/yegor256/netbout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yegor256/netbout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yegor256/netbout/git/refs{/sha}","trees_url":"https://api.github.com/repos/yegor256/netbout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yegor256/netbout/statuses/{sha}","languages_url":"https://api.github.com/repos/yegor256/netbout/languages","stargazers_url":"https://api.github.com/repos/yegor256/netbout/stargazers","contributors_url":"https://api.github.com/repos/yegor256/netbout/contributors","subscribers_url":"https://api.github.com/repos/yegor256/netbout/subscribers","subscription_url":"https://api.github.com/repos/yegor256/netbout/subscription","commits_url":"https://api.github.com/repos/yegor256/netbout/commits{/sha}","git_commits_url":"https://api.github.com/repos/yegor256/netbout/git/commits{/sha}","comments_url":"https://api.github.com/repos/yegor256/netbout/comments{/number}","issue_comment_url":"https://api.github.com/repos/yegor256/netbout/issues/comments{/number}","contents_url":"https://api.github.com/repos/yegor256/netbout/contents/{+path}","compare_url":"https://api.github.com/repos/yegor256/netbout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yegor256/netbout/merges","archive_url":"https://api.github.com/repos/yegor256/netbout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yegor256/netbout/downloads","issues_url":"https://api.github.com/repos/yegor256/netbout/issues{/number}","pulls_url":"https://api.github.com/repos/yegor256/netbout/pulls{/number}","milestones_url":"https://api.github.com/repos/yegor256/netbout/milestones{/number}","notifications_url":"https://api.github.com/repos/yegor256/netbout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yegor256/netbout/labels{/name}","releases_url":"https://api.github.com/repos/yegor256/netbout/releases{/id}","created_at":"2013-04-21T14:49:21Z","updated_at":"2015-04-15T19:36:46Z","pushed_at":"2015-05-22T04:13:40Z","git_url":"git://github.com/yegor256/netbout.git","ssh_url":"git@github.com:yegor256/netbout.git","clone_url":"https://github.com/yegor256/netbout.git","svn_url":"https://github.com/yegor256/netbout","homepage":"www.netbout.com","size":18756,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":39,"forks":8,"open_issues":39,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/582"},"html":{"href":"https://github.com/yegor256/netbout/pull/582"},"issue":{"href":"https://api.github.com/repos/yegor256/netbout/issues/582"},"comments":{"href":"https://api.github.com/repos/yegor256/netbout/issues/582/comments"},"review_comments":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/582/comments"},"review_comment":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/582/commits"},"statuses":{"href":"https://api.github.com/repos/yegor256/netbout/statuses/1da4591e33f136fd8ec80f840ff2883213f39f8d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":18,"review_comments":11,"commits":5,"additions":109,"deletions":25,"changed_files":6}}