{"action":"opened","number":1013,"pull_request":{"url":"https://api.github.com/repos/matrix-org/synapse/pulls/1013","id":81455315,"html_url":"https://github.com/matrix-org/synapse/pull/1013","diff_url":"https://github.com/matrix-org/synapse/pull/1013.diff","patch_url":"https://github.com/matrix-org/synapse/pull/1013.patch","issue_url":"https://api.github.com/repos/matrix-org/synapse/issues/1013","number":1013,"state":"open","locked":false,"title":"Return None if a displayname/avatar cannot be found.","user":{"login":"Half-Shot","id":2072976,"avatar_url":"https://avatars.githubusercontent.com/u/2072976?v=3","gravatar_id":"","url":"https://api.github.com/users/Half-Shot","html_url":"https://github.com/Half-Shot","followers_url":"https://api.github.com/users/Half-Shot/followers","following_url":"https://api.github.com/users/Half-Shot/following{/other_user}","gists_url":"https://api.github.com/users/Half-Shot/gists{/gist_id}","starred_url":"https://api.github.com/users/Half-Shot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Half-Shot/subscriptions","organizations_url":"https://api.github.com/users/Half-Shot/orgs","repos_url":"https://api.github.com/users/Half-Shot/repos","events_url":"https://api.github.com/users/Half-Shot/events{/privacy}","received_events_url":"https://api.github.com/users/Half-Shot/received_events","type":"User","site_admin":false},"body":"The profile handler shouldn't throw if a local profile failed to be found. There are cases where the profile has not been created yet (as in the case with appservice bots), and so it would be sensible to return ``None``. C\r\n\r\nCallers of these handler functions do not need to make the distinction between an empty profile and a non-existent one.","created_at":"2016-08-16T11:26:00Z","updated_at":"2016-08-16T11:26:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1934679e70758d3efaed8303c490ee83f21a0b9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/matrix-org/synapse/pulls/1013/commits","review_comments_url":"https://api.github.com/repos/matrix-org/synapse/pulls/1013/comments","review_comment_url":"https://api.github.com/repos/matrix-org/synapse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matrix-org/synapse/issues/1013/comments","statuses_url":"https://api.github.com/repos/matrix-org/synapse/statuses/f6cd3d8ccbbcaebc69d9f9f0d79eaabbdb9241a7","head":{"label":"Half-Shot:develop","ref":"develop","sha":"f6cd3d8ccbbcaebc69d9f9f0d79eaabbdb9241a7","user":{"login":"Half-Shot","id":2072976,"avatar_url":"https://avatars.githubusercontent.com/u/2072976?v=3","gravatar_id":"","url":"https://api.github.com/users/Half-Shot","html_url":"https://github.com/Half-Shot","followers_url":"https://api.github.com/users/Half-Shot/followers","following_url":"https://api.github.com/users/Half-Shot/following{/other_user}","gists_url":"https://api.github.com/users/Half-Shot/gists{/gist_id}","starred_url":"https://api.github.com/users/Half-Shot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Half-Shot/subscriptions","organizations_url":"https://api.github.com/users/Half-Shot/orgs","repos_url":"https://api.github.com/users/Half-Shot/repos","events_url":"https://api.github.com/users/Half-Shot/events{/privacy}","received_events_url":"https://api.github.com/users/Half-Shot/received_events","type":"User","site_admin":false},"repo":{"id":58357128,"name":"synapse","full_name":"Half-Shot/synapse","owner":{"login":"Half-Shot","id":2072976,"avatar_url":"https://avatars.githubusercontent.com/u/2072976?v=3","gravatar_id":"","url":"https://api.github.com/users/Half-Shot","html_url":"https://github.com/Half-Shot","followers_url":"https://api.github.com/users/Half-Shot/followers","following_url":"https://api.github.com/users/Half-Shot/following{/other_user}","gists_url":"https://api.github.com/users/Half-Shot/gists{/gist_id}","starred_url":"https://api.github.com/users/Half-Shot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Half-Shot/subscriptions","organizations_url":"https://api.github.com/users/Half-Shot/orgs","repos_url":"https://api.github.com/users/Half-Shot/repos","events_url":"https://api.github.com/users/Half-Shot/events{/privacy}","received_events_url":"https://api.github.com/users/Half-Shot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Half-Shot/synapse","description":"Synapse: Matrix reference homeserver","fork":true,"url":"https://api.github.com/repos/Half-Shot/synapse","forks_url":"https://api.github.com/repos/Half-Shot/synapse/forks","keys_url":"https://api.github.com/repos/Half-Shot/synapse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Half-Shot/synapse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Half-Shot/synapse/teams","hooks_url":"https://api.github.com/repos/Half-Shot/synapse/hooks","issue_events_url":"https://api.github.com/repos/Half-Shot/synapse/issues/events{/number}","events_url":"https://api.github.com/repos/Half-Shot/synapse/events","assignees_url":"https://api.github.com/repos/Half-Shot/synapse/assignees{/user}","branches_url":"https://api.github.com/repos/Half-Shot/synapse/branches{/branch}","tags_url":"https://api.github.com/repos/Half-Shot/synapse/tags","blobs_url":"https://api.github.com/repos/Half-Shot/synapse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Half-Shot/synapse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Half-Shot/synapse/git/refs{/sha}","trees_url":"https://api.github.com/repos/Half-Shot/synapse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Half-Shot/synapse/statuses/{sha}","languages_url":"https://api.github.com/repos/Half-Shot/synapse/languages","stargazers_url":"https://api.github.com/repos/Half-Shot/synapse/stargazers","contributors_url":"https://api.github.com/repos/Half-Shot/synapse/contributors","subscribers_url":"https://api.github.com/repos/Half-Shot/synapse/subscribers","subscription_url":"https://api.github.com/repos/Half-Shot/synapse/subscription","commits_url":"https://api.github.com/repos/Half-Shot/synapse/commits{/sha}","git_commits_url":"https://api.github.com/repos/Half-Shot/synapse/git/commits{/sha}","comments_url":"https://api.github.com/repos/Half-Shot/synapse/comments{/number}","issue_comment_url":"https://api.github.com/repos/Half-Shot/synapse/issues/comments{/number}","contents_url":"https://api.github.com/repos/Half-Shot/synapse/contents/{+path}","compare_url":"https://api.github.com/repos/Half-Shot/synapse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Half-Shot/synapse/merges","archive_url":"https://api.github.com/repos/Half-Shot/synapse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Half-Shot/synapse/downloads","issues_url":"https://api.github.com/repos/Half-Shot/synapse/issues{/number}","pulls_url":"https://api.github.com/repos/Half-Shot/synapse/pulls{/number}","milestones_url":"https://api.github.com/repos/Half-Shot/synapse/milestones{/number}","notifications_url":"https://api.github.com/repos/Half-Shot/synapse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Half-Shot/synapse/labels{/name}","releases_url":"https://api.github.com/repos/Half-Shot/synapse/releases{/id}","deployments_url":"https://api.github.com/repos/Half-Shot/synapse/deployments","created_at":"2016-05-09T07:27:34Z","updated_at":"2016-05-09T07:27:36Z","pushed_at":"2016-08-16T11:23:07Z","git_url":"git://github.com/Half-Shot/synapse.git","ssh_url":"git@github.com:Half-Shot/synapse.git","clone_url":"https://github.com/Half-Shot/synapse.git","svn_url":"https://github.com/Half-Shot/synapse","homepage":"http://matrix.org","size":10776,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"matrix-org:develop","ref":"develop","sha":"25c2332071f9f26111a54e099b9884b4a382ac2f","user":{"login":"matrix-org","id":8418310,"avatar_url":"https://avatars.githubusercontent.com/u/8418310?v=3","gravatar_id":"","url":"https://api.github.com/users/matrix-org","html_url":"https://github.com/matrix-org","followers_url":"https://api.github.com/users/matrix-org/followers","following_url":"https://api.github.com/users/matrix-org/following{/other_user}","gists_url":"https://api.github.com/users/matrix-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matrix-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrix-org/subscriptions","organizations_url":"https://api.github.com/users/matrix-org/orgs","repos_url":"https://api.github.com/users/matrix-org/repos","events_url":"https://api.github.com/users/matrix-org/events{/privacy}","received_events_url":"https://api.github.com/users/matrix-org/received_events","type":"Organization","site_admin":false},"repo":{"id":22844864,"name":"synapse","full_name":"matrix-org/synapse","owner":{"login":"matrix-org","id":8418310,"avatar_url":"https://avatars.githubusercontent.com/u/8418310?v=3","gravatar_id":"","url":"https://api.github.com/users/matrix-org","html_url":"https://github.com/matrix-org","followers_url":"https://api.github.com/users/matrix-org/followers","following_url":"https://api.github.com/users/matrix-org/following{/other_user}","gists_url":"https://api.github.com/users/matrix-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matrix-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrix-org/subscriptions","organizations_url":"https://api.github.com/users/matrix-org/orgs","repos_url":"https://api.github.com/users/matrix-org/repos","events_url":"https://api.github.com/users/matrix-org/events{/privacy}","received_events_url":"https://api.github.com/users/matrix-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/matrix-org/synapse","description":"Synapse: Matrix reference homeserver","fork":false,"url":"https://api.github.com/repos/matrix-org/synapse","forks_url":"https://api.github.com/repos/matrix-org/synapse/forks","keys_url":"https://api.github.com/repos/matrix-org/synapse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matrix-org/synapse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matrix-org/synapse/teams","hooks_url":"https://api.github.com/repos/matrix-org/synapse/hooks","issue_events_url":"https://api.github.com/repos/matrix-org/synapse/issues/events{/number}","events_url":"https://api.github.com/repos/matrix-org/synapse/events","assignees_url":"https://api.github.com/repos/matrix-org/synapse/assignees{/user}","branches_url":"https://api.github.com/repos/matrix-org/synapse/branches{/branch}","tags_url":"https://api.github.com/repos/matrix-org/synapse/tags","blobs_url":"https://api.github.com/repos/matrix-org/synapse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matrix-org/synapse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matrix-org/synapse/git/refs{/sha}","trees_url":"https://api.github.com/repos/matrix-org/synapse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matrix-org/synapse/statuses/{sha}","languages_url":"https://api.github.com/repos/matrix-org/synapse/languages","stargazers_url":"https://api.github.com/repos/matrix-org/synapse/stargazers","contributors_url":"https://api.github.com/repos/matrix-org/synapse/contributors","subscribers_url":"https://api.github.com/repos/matrix-org/synapse/subscribers","subscription_url":"https://api.github.com/repos/matrix-org/synapse/subscription","commits_url":"https://api.github.com/repos/matrix-org/synapse/commits{/sha}","git_commits_url":"https://api.github.com/repos/matrix-org/synapse/git/commits{/sha}","comments_url":"https://api.github.com/repos/matrix-org/synapse/comments{/number}","issue_comment_url":"https://api.github.com/repos/matrix-org/synapse/issues/comments{/number}","contents_url":"https://api.github.com/repos/matrix-org/synapse/contents/{+path}","compare_url":"https://api.github.com/repos/matrix-org/synapse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matrix-org/synapse/merges","archive_url":"https://api.github.com/repos/matrix-org/synapse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matrix-org/synapse/downloads","issues_url":"https://api.github.com/repos/matrix-org/synapse/issues{/number}","pulls_url":"https://api.github.com/repos/matrix-org/synapse/pulls{/number}","milestones_url":"https://api.github.com/repos/matrix-org/synapse/milestones{/number}","notifications_url":"https://api.github.com/repos/matrix-org/synapse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matrix-org/synapse/labels{/name}","releases_url":"https://api.github.com/repos/matrix-org/synapse/releases{/id}","deployments_url":"https://api.github.com/repos/matrix-org/synapse/deployments","created_at":"2014-08-11T15:51:42Z","updated_at":"2016-08-16T07:57:17Z","pushed_at":"2016-08-16T11:26:00Z","git_url":"git://github.com/matrix-org/synapse.git","ssh_url":"git@github.com:matrix-org/synapse.git","clone_url":"https://github.com/matrix-org/synapse.git","svn_url":"https://github.com/matrix-org/synapse","homepage":"http://matrix.org","size":18188,"stargazers_count":1085,"watchers_count":1085,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":32,"forks":109,"open_issues":32,"watchers":1085,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matrix-org/synapse/pulls/1013"},"html":{"href":"https://github.com/matrix-org/synapse/pull/1013"},"issue":{"href":"https://api.github.com/repos/matrix-org/synapse/issues/1013"},"comments":{"href":"https://api.github.com/repos/matrix-org/synapse/issues/1013/comments"},"review_comments":{"href":"https://api.github.com/repos/matrix-org/synapse/pulls/1013/comments"},"review_comment":{"href":"https://api.github.com/repos/matrix-org/synapse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matrix-org/synapse/pulls/1013/commits"},"statuses":{"href":"https://api.github.com/repos/matrix-org/synapse/statuses/f6cd3d8ccbbcaebc69d9f9f0d79eaabbdb9241a7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"Half-Shot"}}