{"action":"opened","number":399,"pull_request":{"url":"https://api.github.com/repos/sdelements/lets-chat/pulls/399","id":33095577,"html_url":"https://github.com/sdelements/lets-chat/pull/399","diff_url":"https://github.com/sdelements/lets-chat/pull/399.diff","patch_url":"https://github.com/sdelements/lets-chat/pull/399.patch","issue_url":"https://api.github.com/repos/sdelements/lets-chat/issues/399","number":399,"state":"open","locked":false,"title":"Fixed some issues with transcripts/room history when a user is deleted","user":{"login":"aaryn101","id":4121710,"avatar_url":"https://avatars.githubusercontent.com/u/4121710?v=3","gravatar_id":"","url":"https://api.github.com/users/aaryn101","html_url":"https://github.com/aaryn101","followers_url":"https://api.github.com/users/aaryn101/followers","following_url":"https://api.github.com/users/aaryn101/following{/other_user}","gists_url":"https://api.github.com/users/aaryn101/gists{/gist_id}","starred_url":"https://api.github.com/users/aaryn101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaryn101/subscriptions","organizations_url":"https://api.github.com/users/aaryn101/orgs","repos_url":"https://api.github.com/users/aaryn101/repos","events_url":"https://api.github.com/users/aaryn101/events{/privacy}","received_events_url":"https://api.github.com/users/aaryn101/received_events","type":"User","site_admin":false},"body":"If a user is deleted from the database, it can cause the app to throw several errors when trying to retrieve transcripts or room history. These errors prevent past messages from being shown correctly in many cases, greatly reducing the usefulness of the app.","created_at":"2015-04-11T01:46:22Z","updated_at":"2015-04-11T01:46:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sdelements/lets-chat/pulls/399/commits","review_comments_url":"https://api.github.com/repos/sdelements/lets-chat/pulls/399/comments","review_comment_url":"https://api.github.com/repos/sdelements/lets-chat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sdelements/lets-chat/issues/399/comments","statuses_url":"https://api.github.com/repos/sdelements/lets-chat/statuses/6ff817147fc26b7b164d1553978f2f321526041c","head":{"label":"aaryn101:master","ref":"master","sha":"6ff817147fc26b7b164d1553978f2f321526041c","user":{"login":"aaryn101","id":4121710,"avatar_url":"https://avatars.githubusercontent.com/u/4121710?v=3","gravatar_id":"","url":"https://api.github.com/users/aaryn101","html_url":"https://github.com/aaryn101","followers_url":"https://api.github.com/users/aaryn101/followers","following_url":"https://api.github.com/users/aaryn101/following{/other_user}","gists_url":"https://api.github.com/users/aaryn101/gists{/gist_id}","starred_url":"https://api.github.com/users/aaryn101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaryn101/subscriptions","organizations_url":"https://api.github.com/users/aaryn101/orgs","repos_url":"https://api.github.com/users/aaryn101/repos","events_url":"https://api.github.com/users/aaryn101/events{/privacy}","received_events_url":"https://api.github.com/users/aaryn101/received_events","type":"User","site_admin":false},"repo":{"id":33754679,"name":"lets-chat","full_name":"aaryn101/lets-chat","owner":{"login":"aaryn101","id":4121710,"avatar_url":"https://avatars.githubusercontent.com/u/4121710?v=3","gravatar_id":"","url":"https://api.github.com/users/aaryn101","html_url":"https://github.com/aaryn101","followers_url":"https://api.github.com/users/aaryn101/followers","following_url":"https://api.github.com/users/aaryn101/following{/other_user}","gists_url":"https://api.github.com/users/aaryn101/gists{/gist_id}","starred_url":"https://api.github.com/users/aaryn101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaryn101/subscriptions","organizations_url":"https://api.github.com/users/aaryn101/orgs","repos_url":"https://api.github.com/users/aaryn101/repos","events_url":"https://api.github.com/users/aaryn101/events{/privacy}","received_events_url":"https://api.github.com/users/aaryn101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaryn101/lets-chat","description":"Self-hosted chat app for small teams","fork":true,"url":"https://api.github.com/repos/aaryn101/lets-chat","forks_url":"https://api.github.com/repos/aaryn101/lets-chat/forks","keys_url":"https://api.github.com/repos/aaryn101/lets-chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaryn101/lets-chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaryn101/lets-chat/teams","hooks_url":"https://api.github.com/repos/aaryn101/lets-chat/hooks","issue_events_url":"https://api.github.com/repos/aaryn101/lets-chat/issues/events{/number}","events_url":"https://api.github.com/repos/aaryn101/lets-chat/events","assignees_url":"https://api.github.com/repos/aaryn101/lets-chat/assignees{/user}","branches_url":"https://api.github.com/repos/aaryn101/lets-chat/branches{/branch}","tags_url":"https://api.github.com/repos/aaryn101/lets-chat/tags","blobs_url":"https://api.github.com/repos/aaryn101/lets-chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaryn101/lets-chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaryn101/lets-chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaryn101/lets-chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaryn101/lets-chat/statuses/{sha}","languages_url":"https://api.github.com/repos/aaryn101/lets-chat/languages","stargazers_url":"https://api.github.com/repos/aaryn101/lets-chat/stargazers","contributors_url":"https://api.github.com/repos/aaryn101/lets-chat/contributors","subscribers_url":"https://api.github.com/repos/aaryn101/lets-chat/subscribers","subscription_url":"https://api.github.com/repos/aaryn101/lets-chat/subscription","commits_url":"https://api.github.com/repos/aaryn101/lets-chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaryn101/lets-chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaryn101/lets-chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaryn101/lets-chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaryn101/lets-chat/contents/{+path}","compare_url":"https://api.github.com/repos/aaryn101/lets-chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaryn101/lets-chat/merges","archive_url":"https://api.github.com/repos/aaryn101/lets-chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaryn101/lets-chat/downloads","issues_url":"https://api.github.com/repos/aaryn101/lets-chat/issues{/number}","pulls_url":"https://api.github.com/repos/aaryn101/lets-chat/pulls{/number}","milestones_url":"https://api.github.com/repos/aaryn101/lets-chat/milestones{/number}","notifications_url":"https://api.github.com/repos/aaryn101/lets-chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaryn101/lets-chat/labels{/name}","releases_url":"https://api.github.com/repos/aaryn101/lets-chat/releases{/id}","created_at":"2015-04-10T23:08:32Z","updated_at":"2015-04-11T01:40:08Z","pushed_at":"2015-04-11T01:40:08Z","git_url":"git://github.com/aaryn101/lets-chat.git","ssh_url":"git@github.com:aaryn101/lets-chat.git","clone_url":"https://github.com/aaryn101/lets-chat.git","svn_url":"https://github.com/aaryn101/lets-chat","homepage":"http://sdelements.github.io/lets-chat","size":26989,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"sdelements:master","ref":"master","sha":"47acd9e2e3d18fc97cbbc66103d9823bd74b2f90","user":{"login":"sdelements","id":739346,"avatar_url":"https://avatars.githubusercontent.com/u/739346?v=3","gravatar_id":"","url":"https://api.github.com/users/sdelements","html_url":"https://github.com/sdelements","followers_url":"https://api.github.com/users/sdelements/followers","following_url":"https://api.github.com/users/sdelements/following{/other_user}","gists_url":"https://api.github.com/users/sdelements/gists{/gist_id}","starred_url":"https://api.github.com/users/sdelements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdelements/subscriptions","organizations_url":"https://api.github.com/users/sdelements/orgs","repos_url":"https://api.github.com/users/sdelements/repos","events_url":"https://api.github.com/users/sdelements/events{/privacy}","received_events_url":"https://api.github.com/users/sdelements/received_events","type":"Organization","site_admin":false},"repo":{"id":3673976,"name":"lets-chat","full_name":"sdelements/lets-chat","owner":{"login":"sdelements","id":739346,"avatar_url":"https://avatars.githubusercontent.com/u/739346?v=3","gravatar_id":"","url":"https://api.github.com/users/sdelements","html_url":"https://github.com/sdelements","followers_url":"https://api.github.com/users/sdelements/followers","following_url":"https://api.github.com/users/sdelements/following{/other_user}","gists_url":"https://api.github.com/users/sdelements/gists{/gist_id}","starred_url":"https://api.github.com/users/sdelements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdelements/subscriptions","organizations_url":"https://api.github.com/users/sdelements/orgs","repos_url":"https://api.github.com/users/sdelements/repos","events_url":"https://api.github.com/users/sdelements/events{/privacy}","received_events_url":"https://api.github.com/users/sdelements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sdelements/lets-chat","description":"Self-hosted chat app for small teams","fork":false,"url":"https://api.github.com/repos/sdelements/lets-chat","forks_url":"https://api.github.com/repos/sdelements/lets-chat/forks","keys_url":"https://api.github.com/repos/sdelements/lets-chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sdelements/lets-chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sdelements/lets-chat/teams","hooks_url":"https://api.github.com/repos/sdelements/lets-chat/hooks","issue_events_url":"https://api.github.com/repos/sdelements/lets-chat/issues/events{/number}","events_url":"https://api.github.com/repos/sdelements/lets-chat/events","assignees_url":"https://api.github.com/repos/sdelements/lets-chat/assignees{/user}","branches_url":"https://api.github.com/repos/sdelements/lets-chat/branches{/branch}","tags_url":"https://api.github.com/repos/sdelements/lets-chat/tags","blobs_url":"https://api.github.com/repos/sdelements/lets-chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sdelements/lets-chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sdelements/lets-chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/sdelements/lets-chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sdelements/lets-chat/statuses/{sha}","languages_url":"https://api.github.com/repos/sdelements/lets-chat/languages","stargazers_url":"https://api.github.com/repos/sdelements/lets-chat/stargazers","contributors_url":"https://api.github.com/repos/sdelements/lets-chat/contributors","subscribers_url":"https://api.github.com/repos/sdelements/lets-chat/subscribers","subscription_url":"https://api.github.com/repos/sdelements/lets-chat/subscription","commits_url":"https://api.github.com/repos/sdelements/lets-chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/sdelements/lets-chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/sdelements/lets-chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/sdelements/lets-chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/sdelements/lets-chat/contents/{+path}","compare_url":"https://api.github.com/repos/sdelements/lets-chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sdelements/lets-chat/merges","archive_url":"https://api.github.com/repos/sdelements/lets-chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sdelements/lets-chat/downloads","issues_url":"https://api.github.com/repos/sdelements/lets-chat/issues{/number}","pulls_url":"https://api.github.com/repos/sdelements/lets-chat/pulls{/number}","milestones_url":"https://api.github.com/repos/sdelements/lets-chat/milestones{/number}","notifications_url":"https://api.github.com/repos/sdelements/lets-chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sdelements/lets-chat/labels{/name}","releases_url":"https://api.github.com/repos/sdelements/lets-chat/releases{/id}","created_at":"2012-03-09T19:32:33Z","updated_at":"2015-04-11T01:01:22Z","pushed_at":"2015-04-10T21:26:45Z","git_url":"git://github.com/sdelements/lets-chat.git","ssh_url":"git@github.com:sdelements/lets-chat.git","clone_url":"https://github.com/sdelements/lets-chat.git","svn_url":"https://github.com/sdelements/lets-chat","homepage":"http://sdelements.github.io/lets-chat","size":26989,"stargazers_count":6087,"watchers_count":6087,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":684,"mirror_url":null,"open_issues_count":81,"forks":684,"open_issues":81,"watchers":6087,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sdelements/lets-chat/pulls/399"},"html":{"href":"https://github.com/sdelements/lets-chat/pull/399"},"issue":{"href":"https://api.github.com/repos/sdelements/lets-chat/issues/399"},"comments":{"href":"https://api.github.com/repos/sdelements/lets-chat/issues/399/comments"},"review_comments":{"href":"https://api.github.com/repos/sdelements/lets-chat/pulls/399/comments"},"review_comment":{"href":"https://api.github.com/repos/sdelements/lets-chat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sdelements/lets-chat/pulls/399/commits"},"statuses":{"href":"https://api.github.com/repos/sdelements/lets-chat/statuses/6ff817147fc26b7b164d1553978f2f321526041c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":20,"deletions":4,"changed_files":2}}