{"action":"opened","number":220,"pull_request":{"url":"https://api.github.com/repos/SkygearIO/chat/pulls/220","id":194556567,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NTU2NTY3","html_url":"https://github.com/SkygearIO/chat/pull/220","diff_url":"https://github.com/SkygearIO/chat/pull/220.diff","patch_url":"https://github.com/SkygearIO/chat/pull/220.patch","issue_url":"https://api.github.com/repos/SkygearIO/chat/issues/220","number":220,"state":"open","locked":false,"title":"Fix unread count after deleting message","user":{"login":"carmenlau","id":388892,"node_id":"MDQ6VXNlcjM4ODg5Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/388892?v=4","gravatar_id":"","url":"https://api.github.com/users/carmenlau","html_url":"https://github.com/carmenlau","followers_url":"https://api.github.com/users/carmenlau/followers","following_url":"https://api.github.com/users/carmenlau/following{/other_user}","gists_url":"https://api.github.com/users/carmenlau/gists{/gist_id}","starred_url":"https://api.github.com/users/carmenlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmenlau/subscriptions","organizations_url":"https://api.github.com/users/carmenlau/orgs","repos_url":"https://api.github.com/users/carmenlau/repos","events_url":"https://api.github.com/users/carmenlau/events{/privacy}","received_events_url":"https://api.github.com/users/carmenlau/received_events","type":"User","site_admin":false},"body":"connect #219 ","created_at":"2018-06-13T11:36:16Z","updated_at":"2018-06-13T11:36:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SkygearIO/chat/pulls/220/commits","review_comments_url":"https://api.github.com/repos/SkygearIO/chat/pulls/220/comments","review_comment_url":"https://api.github.com/repos/SkygearIO/chat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SkygearIO/chat/issues/220/comments","statuses_url":"https://api.github.com/repos/SkygearIO/chat/statuses/ee7f23dc696b4555ece58e319442084c5f20f4e3","head":{"label":"carmenlau:fix-unread-count","ref":"fix-unread-count","sha":"ee7f23dc696b4555ece58e319442084c5f20f4e3","user":{"login":"carmenlau","id":388892,"node_id":"MDQ6VXNlcjM4ODg5Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/388892?v=4","gravatar_id":"","url":"https://api.github.com/users/carmenlau","html_url":"https://github.com/carmenlau","followers_url":"https://api.github.com/users/carmenlau/followers","following_url":"https://api.github.com/users/carmenlau/following{/other_user}","gists_url":"https://api.github.com/users/carmenlau/gists{/gist_id}","starred_url":"https://api.github.com/users/carmenlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmenlau/subscriptions","organizations_url":"https://api.github.com/users/carmenlau/orgs","repos_url":"https://api.github.com/users/carmenlau/repos","events_url":"https://api.github.com/users/carmenlau/events{/privacy}","received_events_url":"https://api.github.com/users/carmenlau/received_events","type":"User","site_admin":false},"repo":{"id":108103611,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgxMDM2MTE=","name":"chat","full_name":"carmenlau/chat","owner":{"login":"carmenlau","id":388892,"node_id":"MDQ6VXNlcjM4ODg5Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/388892?v=4","gravatar_id":"","url":"https://api.github.com/users/carmenlau","html_url":"https://github.com/carmenlau","followers_url":"https://api.github.com/users/carmenlau/followers","following_url":"https://api.github.com/users/carmenlau/following{/other_user}","gists_url":"https://api.github.com/users/carmenlau/gists{/gist_id}","starred_url":"https://api.github.com/users/carmenlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmenlau/subscriptions","organizations_url":"https://api.github.com/users/carmenlau/orgs","repos_url":"https://api.github.com/users/carmenlau/repos","events_url":"https://api.github.com/users/carmenlau/events{/privacy}","received_events_url":"https://api.github.com/users/carmenlau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carmenlau/chat","description":"Skygear Plugin - Chat SDK","fork":true,"url":"https://api.github.com/repos/carmenlau/chat","forks_url":"https://api.github.com/repos/carmenlau/chat/forks","keys_url":"https://api.github.com/repos/carmenlau/chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carmenlau/chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carmenlau/chat/teams","hooks_url":"https://api.github.com/repos/carmenlau/chat/hooks","issue_events_url":"https://api.github.com/repos/carmenlau/chat/issues/events{/number}","events_url":"https://api.github.com/repos/carmenlau/chat/events","assignees_url":"https://api.github.com/repos/carmenlau/chat/assignees{/user}","branches_url":"https://api.github.com/repos/carmenlau/chat/branches{/branch}","tags_url":"https://api.github.com/repos/carmenlau/chat/tags","blobs_url":"https://api.github.com/repos/carmenlau/chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carmenlau/chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carmenlau/chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/carmenlau/chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carmenlau/chat/statuses/{sha}","languages_url":"https://api.github.com/repos/carmenlau/chat/languages","stargazers_url":"https://api.github.com/repos/carmenlau/chat/stargazers","contributors_url":"https://api.github.com/repos/carmenlau/chat/contributors","subscribers_url":"https://api.github.com/repos/carmenlau/chat/subscribers","subscription_url":"https://api.github.com/repos/carmenlau/chat/subscription","commits_url":"https://api.github.com/repos/carmenlau/chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/carmenlau/chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/carmenlau/chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/carmenlau/chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/carmenlau/chat/contents/{+path}","compare_url":"https://api.github.com/repos/carmenlau/chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carmenlau/chat/merges","archive_url":"https://api.github.com/repos/carmenlau/chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carmenlau/chat/downloads","issues_url":"https://api.github.com/repos/carmenlau/chat/issues{/number}","pulls_url":"https://api.github.com/repos/carmenlau/chat/pulls{/number}","milestones_url":"https://api.github.com/repos/carmenlau/chat/milestones{/number}","notifications_url":"https://api.github.com/repos/carmenlau/chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carmenlau/chat/labels{/name}","releases_url":"https://api.github.com/repos/carmenlau/chat/releases{/id}","deployments_url":"https://api.github.com/repos/carmenlau/chat/deployments","created_at":"2017-10-24T09:13:32Z","updated_at":"2017-10-24T09:13:34Z","pushed_at":"2018-06-13T11:35:46Z","git_url":"git://github.com/carmenlau/chat.git","ssh_url":"git@github.com:carmenlau/chat.git","clone_url":"https://github.com/carmenlau/chat.git","svn_url":"https://github.com/carmenlau/chat","homepage":"","size":512,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SkygearIO:master","ref":"master","sha":"c0051ea8185003cb61355dad27297748058ccf77","user":{"login":"SkygearIO","id":15025887,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDI1ODg3","avatar_url":"https://avatars1.githubusercontent.com/u/15025887?v=4","gravatar_id":"","url":"https://api.github.com/users/SkygearIO","html_url":"https://github.com/SkygearIO","followers_url":"https://api.github.com/users/SkygearIO/followers","following_url":"https://api.github.com/users/SkygearIO/following{/other_user}","gists_url":"https://api.github.com/users/SkygearIO/gists{/gist_id}","starred_url":"https://api.github.com/users/SkygearIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkygearIO/subscriptions","organizations_url":"https://api.github.com/users/SkygearIO/orgs","repos_url":"https://api.github.com/users/SkygearIO/repos","events_url":"https://api.github.com/users/SkygearIO/events{/privacy}","received_events_url":"https://api.github.com/users/SkygearIO/received_events","type":"Organization","site_admin":false},"repo":{"id":50099468,"node_id":"MDEwOlJlcG9zaXRvcnk1MDA5OTQ2OA==","name":"chat","full_name":"SkygearIO/chat","owner":{"login":"SkygearIO","id":15025887,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDI1ODg3","avatar_url":"https://avatars1.githubusercontent.com/u/15025887?v=4","gravatar_id":"","url":"https://api.github.com/users/SkygearIO","html_url":"https://github.com/SkygearIO","followers_url":"https://api.github.com/users/SkygearIO/followers","following_url":"https://api.github.com/users/SkygearIO/following{/other_user}","gists_url":"https://api.github.com/users/SkygearIO/gists{/gist_id}","starred_url":"https://api.github.com/users/SkygearIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkygearIO/subscriptions","organizations_url":"https://api.github.com/users/SkygearIO/orgs","repos_url":"https://api.github.com/users/SkygearIO/repos","events_url":"https://api.github.com/users/SkygearIO/events{/privacy}","received_events_url":"https://api.github.com/users/SkygearIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SkygearIO/chat","description":"Skygear Plugin - Chat SDK","fork":false,"url":"https://api.github.com/repos/SkygearIO/chat","forks_url":"https://api.github.com/repos/SkygearIO/chat/forks","keys_url":"https://api.github.com/repos/SkygearIO/chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SkygearIO/chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SkygearIO/chat/teams","hooks_url":"https://api.github.com/repos/SkygearIO/chat/hooks","issue_events_url":"https://api.github.com/repos/SkygearIO/chat/issues/events{/number}","events_url":"https://api.github.com/repos/SkygearIO/chat/events","assignees_url":"https://api.github.com/repos/SkygearIO/chat/assignees{/user}","branches_url":"https://api.github.com/repos/SkygearIO/chat/branches{/branch}","tags_url":"https://api.github.com/repos/SkygearIO/chat/tags","blobs_url":"https://api.github.com/repos/SkygearIO/chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SkygearIO/chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SkygearIO/chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/SkygearIO/chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SkygearIO/chat/statuses/{sha}","languages_url":"https://api.github.com/repos/SkygearIO/chat/languages","stargazers_url":"https://api.github.com/repos/SkygearIO/chat/stargazers","contributors_url":"https://api.github.com/repos/SkygearIO/chat/contributors","subscribers_url":"https://api.github.com/repos/SkygearIO/chat/subscribers","subscription_url":"https://api.github.com/repos/SkygearIO/chat/subscription","commits_url":"https://api.github.com/repos/SkygearIO/chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/SkygearIO/chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/SkygearIO/chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/SkygearIO/chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/SkygearIO/chat/contents/{+path}","compare_url":"https://api.github.com/repos/SkygearIO/chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SkygearIO/chat/merges","archive_url":"https://api.github.com/repos/SkygearIO/chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SkygearIO/chat/downloads","issues_url":"https://api.github.com/repos/SkygearIO/chat/issues{/number}","pulls_url":"https://api.github.com/repos/SkygearIO/chat/pulls{/number}","milestones_url":"https://api.github.com/repos/SkygearIO/chat/milestones{/number}","notifications_url":"https://api.github.com/repos/SkygearIO/chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SkygearIO/chat/labels{/name}","releases_url":"https://api.github.com/repos/SkygearIO/chat/releases{/id}","deployments_url":"https://api.github.com/repos/SkygearIO/chat/deployments","created_at":"2016-01-21T10:15:39Z","updated_at":"2018-06-11T06:09:56Z","pushed_at":"2018-06-11T06:09:54Z","git_url":"git://github.com/SkygearIO/chat.git","ssh_url":"git@github.com:SkygearIO/chat.git","clone_url":"https://github.com/SkygearIO/chat.git","svn_url":"https://github.com/SkygearIO/chat","homepage":"","size":516,"stargazers_count":14,"watchers_count":14,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":17,"open_issues":25,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SkygearIO/chat/pulls/220"},"html":{"href":"https://github.com/SkygearIO/chat/pull/220"},"issue":{"href":"https://api.github.com/repos/SkygearIO/chat/issues/220"},"comments":{"href":"https://api.github.com/repos/SkygearIO/chat/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/SkygearIO/chat/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/SkygearIO/chat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SkygearIO/chat/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/SkygearIO/chat/statuses/ee7f23dc696b4555ece58e319442084c5f20f4e3"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":29,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"carmenlau"}}