{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/chonglou/itpkg/pulls/20","id":29637123,"html_url":"https://github.com/chonglou/itpkg/pull/20","diff_url":"https://github.com/chonglou/itpkg/pull/20.diff","patch_url":"https://github.com/chonglou/itpkg/pull/20.patch","issue_url":"https://api.github.com/repos/chonglou/itpkg/issues/20","number":20,"state":"closed","locked":false,"title":"fix chat message send","user":{"login":"Sen-Zhang","id":6109217,"avatar_url":"https://avatars.githubusercontent.com/u/6109217?v=3","gravatar_id":"","url":"https://api.github.com/users/Sen-Zhang","html_url":"https://github.com/Sen-Zhang","followers_url":"https://api.github.com/users/Sen-Zhang/followers","following_url":"https://api.github.com/users/Sen-Zhang/following{/other_user}","gists_url":"https://api.github.com/users/Sen-Zhang/gists{/gist_id}","starred_url":"https://api.github.com/users/Sen-Zhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sen-Zhang/subscriptions","organizations_url":"https://api.github.com/users/Sen-Zhang/orgs","repos_url":"https://api.github.com/users/Sen-Zhang/repos","events_url":"https://api.github.com/users/Sen-Zhang/events{/privacy}","received_events_url":"https://api.github.com/users/Sen-Zhang/received_events","type":"User","site_admin":false},"body":"- 重定位generate_message函数\r\n- 聊天窗体打开时，初始化websocket连接","created_at":"2015-02-19T18:42:36Z","updated_at":"2015-02-19T20:28:27Z","closed_at":"2015-02-19T20:28:27Z","merged_at":"2015-02-19T20:28:27Z","merge_commit_sha":"18037ac99b40ba5b29099f85cfbd63204493f98d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chonglou/itpkg/pulls/20/commits","review_comments_url":"https://api.github.com/repos/chonglou/itpkg/pulls/20/comments","review_comment_url":"https://api.github.com/repos/chonglou/itpkg/pulls/comments/{number}","comments_url":"https://api.github.com/repos/chonglou/itpkg/issues/20/comments","statuses_url":"https://api.github.com/repos/chonglou/itpkg/statuses/fa6d1e6abc447db33fd39336066f20318828ded8","head":{"label":"sz_fix_message_send","ref":"sz_fix_message_send","sha":"fa6d1e6abc447db33fd39336066f20318828ded8","user":{"login":"chonglou","id":6397317,"avatar_url":"https://avatars.githubusercontent.com/u/6397317?v=3","gravatar_id":"","url":"https://api.github.com/users/chonglou","html_url":"https://github.com/chonglou","followers_url":"https://api.github.com/users/chonglou/followers","following_url":"https://api.github.com/users/chonglou/following{/other_user}","gists_url":"https://api.github.com/users/chonglou/gists{/gist_id}","starred_url":"https://api.github.com/users/chonglou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chonglou/subscriptions","organizations_url":"https://api.github.com/users/chonglou/orgs","repos_url":"https://api.github.com/users/chonglou/repos","events_url":"https://api.github.com/users/chonglou/events{/privacy}","received_events_url":"https://api.github.com/users/chonglou/received_events","type":"User","site_admin":false},"repo":{"id":18864779,"name":"itpkg","full_name":"chonglou/itpkg","owner":{"login":"chonglou","id":6397317,"avatar_url":"https://avatars.githubusercontent.com/u/6397317?v=3","gravatar_id":"","url":"https://api.github.com/users/chonglou","html_url":"https://github.com/chonglou","followers_url":"https://api.github.com/users/chonglou/followers","following_url":"https://api.github.com/users/chonglou/following{/other_user}","gists_url":"https://api.github.com/users/chonglou/gists{/gist_id}","starred_url":"https://api.github.com/users/chonglou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chonglou/subscriptions","organizations_url":"https://api.github.com/users/chonglou/orgs","repos_url":"https://api.github.com/users/chonglou/repos","events_url":"https://api.github.com/users/chonglou/events{/privacy}","received_events_url":"https://api.github.com/users/chonglou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chonglou/itpkg","description":"自动化运维系统","fork":false,"url":"https://api.github.com/repos/chonglou/itpkg","forks_url":"https://api.github.com/repos/chonglou/itpkg/forks","keys_url":"https://api.github.com/repos/chonglou/itpkg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chonglou/itpkg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chonglou/itpkg/teams","hooks_url":"https://api.github.com/repos/chonglou/itpkg/hooks","issue_events_url":"https://api.github.com/repos/chonglou/itpkg/issues/events{/number}","events_url":"https://api.github.com/repos/chonglou/itpkg/events","assignees_url":"https://api.github.com/repos/chonglou/itpkg/assignees{/user}","branches_url":"https://api.github.com/repos/chonglou/itpkg/branches{/branch}","tags_url":"https://api.github.com/repos/chonglou/itpkg/tags","blobs_url":"https://api.github.com/repos/chonglou/itpkg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chonglou/itpkg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chonglou/itpkg/git/refs{/sha}","trees_url":"https://api.github.com/repos/chonglou/itpkg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chonglou/itpkg/statuses/{sha}","languages_url":"https://api.github.com/repos/chonglou/itpkg/languages","stargazers_url":"https://api.github.com/repos/chonglou/itpkg/stargazers","contributors_url":"https://api.github.com/repos/chonglou/itpkg/contributors","subscribers_url":"https://api.github.com/repos/chonglou/itpkg/subscribers","subscription_url":"https://api.github.com/repos/chonglou/itpkg/subscription","commits_url":"https://api.github.com/repos/chonglou/itpkg/commits{/sha}","git_commits_url":"https://api.github.com/repos/chonglou/itpkg/git/commits{/sha}","comments_url":"https://api.github.com/repos/chonglou/itpkg/comments{/number}","issue_comment_url":"https://api.github.com/repos/chonglou/itpkg/issues/comments/{number}","contents_url":"https://api.github.com/repos/chonglou/itpkg/contents/{+path}","compare_url":"https://api.github.com/repos/chonglou/itpkg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chonglou/itpkg/merges","archive_url":"https://api.github.com/repos/chonglou/itpkg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chonglou/itpkg/downloads","issues_url":"https://api.github.com/repos/chonglou/itpkg/issues{/number}","pulls_url":"https://api.github.com/repos/chonglou/itpkg/pulls{/number}","milestones_url":"https://api.github.com/repos/chonglou/itpkg/milestones{/number}","notifications_url":"https://api.github.com/repos/chonglou/itpkg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chonglou/itpkg/labels{/name}","releases_url":"https://api.github.com/repos/chonglou/itpkg/releases{/id}","created_at":"2014-04-17T03:04:05Z","updated_at":"2015-01-30T20:01:36Z","pushed_at":"2015-02-19T20:28:27Z","git_url":"git://github.com/chonglou/itpkg.git","ssh_url":"git@github.com:chonglou/itpkg.git","clone_url":"https://github.com/chonglou/itpkg.git","svn_url":"https://github.com/chonglou/itpkg","homepage":null,"size":18292,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"development","ref":"development","sha":"608bb13f63dfa45c313e144c876f13f0cab56446","user":{"login":"chonglou","id":6397317,"avatar_url":"https://avatars.githubusercontent.com/u/6397317?v=3","gravatar_id":"","url":"https://api.github.com/users/chonglou","html_url":"https://github.com/chonglou","followers_url":"https://api.github.com/users/chonglou/followers","following_url":"https://api.github.com/users/chonglou/following{/other_user}","gists_url":"https://api.github.com/users/chonglou/gists{/gist_id}","starred_url":"https://api.github.com/users/chonglou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chonglou/subscriptions","organizations_url":"https://api.github.com/users/chonglou/orgs","repos_url":"https://api.github.com/users/chonglou/repos","events_url":"https://api.github.com/users/chonglou/events{/privacy}","received_events_url":"https://api.github.com/users/chonglou/received_events","type":"User","site_admin":false},"repo":{"id":18864779,"name":"itpkg","full_name":"chonglou/itpkg","owner":{"login":"chonglou","id":6397317,"avatar_url":"https://avatars.githubusercontent.com/u/6397317?v=3","gravatar_id":"","url":"https://api.github.com/users/chonglou","html_url":"https://github.com/chonglou","followers_url":"https://api.github.com/users/chonglou/followers","following_url":"https://api.github.com/users/chonglou/following{/other_user}","gists_url":"https://api.github.com/users/chonglou/gists{/gist_id}","starred_url":"https://api.github.com/users/chonglou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chonglou/subscriptions","organizations_url":"https://api.github.com/users/chonglou/orgs","repos_url":"https://api.github.com/users/chonglou/repos","events_url":"https://api.github.com/users/chonglou/events{/privacy}","received_events_url":"https://api.github.com/users/chonglou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chonglou/itpkg","description":"自动化运维系统","fork":false,"url":"https://api.github.com/repos/chonglou/itpkg","forks_url":"https://api.github.com/repos/chonglou/itpkg/forks","keys_url":"https://api.github.com/repos/chonglou/itpkg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chonglou/itpkg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chonglou/itpkg/teams","hooks_url":"https://api.github.com/repos/chonglou/itpkg/hooks","issue_events_url":"https://api.github.com/repos/chonglou/itpkg/issues/events{/number}","events_url":"https://api.github.com/repos/chonglou/itpkg/events","assignees_url":"https://api.github.com/repos/chonglou/itpkg/assignees{/user}","branches_url":"https://api.github.com/repos/chonglou/itpkg/branches{/branch}","tags_url":"https://api.github.com/repos/chonglou/itpkg/tags","blobs_url":"https://api.github.com/repos/chonglou/itpkg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chonglou/itpkg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chonglou/itpkg/git/refs{/sha}","trees_url":"https://api.github.com/repos/chonglou/itpkg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chonglou/itpkg/statuses/{sha}","languages_url":"https://api.github.com/repos/chonglou/itpkg/languages","stargazers_url":"https://api.github.com/repos/chonglou/itpkg/stargazers","contributors_url":"https://api.github.com/repos/chonglou/itpkg/contributors","subscribers_url":"https://api.github.com/repos/chonglou/itpkg/subscribers","subscription_url":"https://api.github.com/repos/chonglou/itpkg/subscription","commits_url":"https://api.github.com/repos/chonglou/itpkg/commits{/sha}","git_commits_url":"https://api.github.com/repos/chonglou/itpkg/git/commits{/sha}","comments_url":"https://api.github.com/repos/chonglou/itpkg/comments{/number}","issue_comment_url":"https://api.github.com/repos/chonglou/itpkg/issues/comments/{number}","contents_url":"https://api.github.com/repos/chonglou/itpkg/contents/{+path}","compare_url":"https://api.github.com/repos/chonglou/itpkg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chonglou/itpkg/merges","archive_url":"https://api.github.com/repos/chonglou/itpkg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chonglou/itpkg/downloads","issues_url":"https://api.github.com/repos/chonglou/itpkg/issues{/number}","pulls_url":"https://api.github.com/repos/chonglou/itpkg/pulls{/number}","milestones_url":"https://api.github.com/repos/chonglou/itpkg/milestones{/number}","notifications_url":"https://api.github.com/repos/chonglou/itpkg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chonglou/itpkg/labels{/name}","releases_url":"https://api.github.com/repos/chonglou/itpkg/releases{/id}","created_at":"2014-04-17T03:04:05Z","updated_at":"2015-01-30T20:01:36Z","pushed_at":"2015-02-19T20:28:27Z","git_url":"git://github.com/chonglou/itpkg.git","ssh_url":"git@github.com:chonglou/itpkg.git","clone_url":"https://github.com/chonglou/itpkg.git","svn_url":"https://github.com/chonglou/itpkg","homepage":null,"size":18292,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chonglou/itpkg/pulls/20"},"html":{"href":"https://github.com/chonglou/itpkg/pull/20"},"issue":{"href":"https://api.github.com/repos/chonglou/itpkg/issues/20"},"comments":{"href":"https://api.github.com/repos/chonglou/itpkg/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/chonglou/itpkg/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/chonglou/itpkg/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/chonglou/itpkg/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/chonglou/itpkg/statuses/fa6d1e6abc447db33fd39336066f20318828ded8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chonglou","id":6397317,"avatar_url":"https://avatars.githubusercontent.com/u/6397317?v=3","gravatar_id":"","url":"https://api.github.com/users/chonglou","html_url":"https://github.com/chonglou","followers_url":"https://api.github.com/users/chonglou/followers","following_url":"https://api.github.com/users/chonglou/following{/other_user}","gists_url":"https://api.github.com/users/chonglou/gists{/gist_id}","starred_url":"https://api.github.com/users/chonglou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chonglou/subscriptions","organizations_url":"https://api.github.com/users/chonglou/orgs","repos_url":"https://api.github.com/users/chonglou/repos","events_url":"https://api.github.com/users/chonglou/events{/privacy}","received_events_url":"https://api.github.com/users/chonglou/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":7,"changed_files":2}}