{"action":"created","comment":{"url":"https://api.github.com/repos/arhangeldim/track16/pulls/comments/87997287","pull_request_review_id":8584188,"id":87997287,"diff_hunk":"@@ -0,0 +1,29 @@\n+package track.messenger.commands;\n+\n+import track.messenger.Main;\n+import track.messenger.User;\n+import track.messenger.messages.InfoResultMessage;\n+import track.messenger.messages.LoginMessage;\n+import track.messenger.messages.Message;\n+import track.messenger.net.Session;\n+\n+/**\n+ * Created by geoolekom on 14.11.16.\n+ */\n+public class LoginCommand implements Command {\n+    @Override\n+    public void execute(Session session, Message message) throws CommandException {\n+        LoginMessage msg = (LoginMessage) message;\n+        session.setUser(Main.users.loginUser(msg.getUsername(), msg.getPassword()));\n+        try {\n+            User user = session.getUser();","path":"src/main/java/track/messenger/commands/LoginCommand.java","position":19,"original_position":19,"commit_id":"25339b4795e1f2773d008fb50b1ac39d61dd1689","original_commit_id":"25339b4795e1f2773d008fb50b1ac39d61dd1689","user":{"login":"geoolekom","id":10210242,"avatar_url":"https://avatars.githubusercontent.com/u/10210242?v=3","gravatar_id":"","url":"https://api.github.com/users/geoolekom","html_url":"https://github.com/geoolekom","followers_url":"https://api.github.com/users/geoolekom/followers","following_url":"https://api.github.com/users/geoolekom/following{/other_user}","gists_url":"https://api.github.com/users/geoolekom/gists{/gist_id}","starred_url":"https://api.github.com/users/geoolekom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoolekom/subscriptions","organizations_url":"https://api.github.com/users/geoolekom/orgs","repos_url":"https://api.github.com/users/geoolekom/repos","events_url":"https://api.github.com/users/geoolekom/events{/privacy}","received_events_url":"https://api.github.com/users/geoolekom/received_events","type":"User","site_admin":false},"body":"Нет, потому как, возможно, сервер разлогинил нас (например, потому что мы залогининлись из другого места).","created_at":"2016-11-15T11:27:24Z","updated_at":"2016-11-15T11:27:24Z","html_url":"https://github.com/arhangeldim/track16/pull/118#discussion_r87997287","pull_request_url":"https://api.github.com/repos/arhangeldim/track16/pulls/118","_links":{"self":{"href":"https://api.github.com/repos/arhangeldim/track16/pulls/comments/87997287"},"html":{"href":"https://github.com/arhangeldim/track16/pull/118#discussion_r87997287"},"pull_request":{"href":"https://api.github.com/repos/arhangeldim/track16/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/arhangeldim/track16/pulls/118","id":93485606,"html_url":"https://github.com/arhangeldim/track16/pull/118","diff_url":"https://github.com/arhangeldim/track16/pull/118.diff","patch_url":"https://github.com/arhangeldim/track16/pull/118.patch","issue_url":"https://api.github.com/repos/arhangeldim/track16/issues/118","number":118,"state":"open","locked":false,"title":"Geoolekom messenger","user":{"login":"geoolekom","id":10210242,"avatar_url":"https://avatars.githubusercontent.com/u/10210242?v=3","gravatar_id":"","url":"https://api.github.com/users/geoolekom","html_url":"https://github.com/geoolekom","followers_url":"https://api.github.com/users/geoolekom/followers","following_url":"https://api.github.com/users/geoolekom/following{/other_user}","gists_url":"https://api.github.com/users/geoolekom/gists{/gist_id}","starred_url":"https://api.github.com/users/geoolekom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoolekom/subscriptions","organizations_url":"https://api.github.com/users/geoolekom/orgs","repos_url":"https://api.github.com/users/geoolekom/repos","events_url":"https://api.github.com/users/geoolekom/events{/privacy}","received_events_url":"https://api.github.com/users/geoolekom/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-13T20:28:07Z","updated_at":"2016-11-15T11:27:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5636aa18c2f789e0cb95067101b905041c24b9a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/arhangeldim/track16/pulls/118/commits","review_comments_url":"https://api.github.com/repos/arhangeldim/track16/pulls/118/comments","review_comment_url":"https://api.github.com/repos/arhangeldim/track16/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arhangeldim/track16/issues/118/comments","statuses_url":"https://api.github.com/repos/arhangeldim/track16/statuses/25339b4795e1f2773d008fb50b1ac39d61dd1689","head":{"label":"geoolekom:geoolekom-messenger","ref":"geoolekom-messenger","sha":"25339b4795e1f2773d008fb50b1ac39d61dd1689","user":{"login":"geoolekom","id":10210242,"avatar_url":"https://avatars.githubusercontent.com/u/10210242?v=3","gravatar_id":"","url":"https://api.github.com/users/geoolekom","html_url":"https://github.com/geoolekom","followers_url":"https://api.github.com/users/geoolekom/followers","following_url":"https://api.github.com/users/geoolekom/following{/other_user}","gists_url":"https://api.github.com/users/geoolekom/gists{/gist_id}","starred_url":"https://api.github.com/users/geoolekom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoolekom/subscriptions","organizations_url":"https://api.github.com/users/geoolekom/orgs","repos_url":"https://api.github.com/users/geoolekom/repos","events_url":"https://api.github.com/users/geoolekom/events{/privacy}","received_events_url":"https://api.github.com/users/geoolekom/received_events","type":"User","site_admin":false},"repo":{"id":70029992,"name":"track16","full_name":"geoolekom/track16","owner":{"login":"geoolekom","id":10210242,"avatar_url":"https://avatars.githubusercontent.com/u/10210242?v=3","gravatar_id":"","url":"https://api.github.com/users/geoolekom","html_url":"https://github.com/geoolekom","followers_url":"https://api.github.com/users/geoolekom/followers","following_url":"https://api.github.com/users/geoolekom/following{/other_user}","gists_url":"https://api.github.com/users/geoolekom/gists{/gist_id}","starred_url":"https://api.github.com/users/geoolekom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoolekom/subscriptions","organizations_url":"https://api.github.com/users/geoolekom/orgs","repos_url":"https://api.github.com/users/geoolekom/repos","events_url":"https://api.github.com/users/geoolekom/events{/privacy}","received_events_url":"https://api.github.com/users/geoolekom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geoolekom/track16","description":"Репозиторий для Технотрека, осень 2016 (Java курс)","fork":true,"url":"https://api.github.com/repos/geoolekom/track16","forks_url":"https://api.github.com/repos/geoolekom/track16/forks","keys_url":"https://api.github.com/repos/geoolekom/track16/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geoolekom/track16/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geoolekom/track16/teams","hooks_url":"https://api.github.com/repos/geoolekom/track16/hooks","issue_events_url":"https://api.github.com/repos/geoolekom/track16/issues/events{/number}","events_url":"https://api.github.com/repos/geoolekom/track16/events","assignees_url":"https://api.github.com/repos/geoolekom/track16/assignees{/user}","branches_url":"https://api.github.com/repos/geoolekom/track16/branches{/branch}","tags_url":"https://api.github.com/repos/geoolekom/track16/tags","blobs_url":"https://api.github.com/repos/geoolekom/track16/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geoolekom/track16/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geoolekom/track16/git/refs{/sha}","trees_url":"https://api.github.com/repos/geoolekom/track16/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geoolekom/track16/statuses/{sha}","languages_url":"https://api.github.com/repos/geoolekom/track16/languages","stargazers_url":"https://api.github.com/repos/geoolekom/track16/stargazers","contributors_url":"https://api.github.com/repos/geoolekom/track16/contributors","subscribers_url":"https://api.github.com/repos/geoolekom/track16/subscribers","subscription_url":"https://api.github.com/repos/geoolekom/track16/subscription","commits_url":"https://api.github.com/repos/geoolekom/track16/commits{/sha}","git_commits_url":"https://api.github.com/repos/geoolekom/track16/git/commits{/sha}","comments_url":"https://api.github.com/repos/geoolekom/track16/comments{/number}","issue_comment_url":"https://api.github.com/repos/geoolekom/track16/issues/comments{/number}","contents_url":"https://api.github.com/repos/geoolekom/track16/contents/{+path}","compare_url":"https://api.github.com/repos/geoolekom/track16/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geoolekom/track16/merges","archive_url":"https://api.github.com/repos/geoolekom/track16/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geoolekom/track16/downloads","issues_url":"https://api.github.com/repos/geoolekom/track16/issues{/number}","pulls_url":"https://api.github.com/repos/geoolekom/track16/pulls{/number}","milestones_url":"https://api.github.com/repos/geoolekom/track16/milestones{/number}","notifications_url":"https://api.github.com/repos/geoolekom/track16/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geoolekom/track16/labels{/name}","releases_url":"https://api.github.com/repos/geoolekom/track16/releases{/id}","deployments_url":"https://api.github.com/repos/geoolekom/track16/deployments","created_at":"2016-10-05T04:29:44Z","updated_at":"2016-10-05T04:29:45Z","pushed_at":"2016-11-14T20:47:34Z","git_url":"git://github.com/geoolekom/track16.git","ssh_url":"git@github.com:geoolekom/track16.git","clone_url":"https://github.com/geoolekom/track16.git","svn_url":"https://github.com/geoolekom/track16","homepage":null,"size":3287,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"arhangeldim:master","ref":"master","sha":"4e9b8c45e011b1179676108d1d079a505d5a389c","user":{"login":"arhangeldim","id":1112038,"avatar_url":"https://avatars.githubusercontent.com/u/1112038?v=3","gravatar_id":"","url":"https://api.github.com/users/arhangeldim","html_url":"https://github.com/arhangeldim","followers_url":"https://api.github.com/users/arhangeldim/followers","following_url":"https://api.github.com/users/arhangeldim/following{/other_user}","gists_url":"https://api.github.com/users/arhangeldim/gists{/gist_id}","starred_url":"https://api.github.com/users/arhangeldim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arhangeldim/subscriptions","organizations_url":"https://api.github.com/users/arhangeldim/orgs","repos_url":"https://api.github.com/users/arhangeldim/repos","events_url":"https://api.github.com/users/arhangeldim/events{/privacy}","received_events_url":"https://api.github.com/users/arhangeldim/received_events","type":"User","site_admin":false},"repo":{"id":68823326,"name":"track16","full_name":"arhangeldim/track16","owner":{"login":"arhangeldim","id":1112038,"avatar_url":"https://avatars.githubusercontent.com/u/1112038?v=3","gravatar_id":"","url":"https://api.github.com/users/arhangeldim","html_url":"https://github.com/arhangeldim","followers_url":"https://api.github.com/users/arhangeldim/followers","following_url":"https://api.github.com/users/arhangeldim/following{/other_user}","gists_url":"https://api.github.com/users/arhangeldim/gists{/gist_id}","starred_url":"https://api.github.com/users/arhangeldim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arhangeldim/subscriptions","organizations_url":"https://api.github.com/users/arhangeldim/orgs","repos_url":"https://api.github.com/users/arhangeldim/repos","events_url":"https://api.github.com/users/arhangeldim/events{/privacy}","received_events_url":"https://api.github.com/users/arhangeldim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arhangeldim/track16","description":"Репозиторий для Технотрека, осень 2016 (Java курс)","fork":false,"url":"https://api.github.com/repos/arhangeldim/track16","forks_url":"https://api.github.com/repos/arhangeldim/track16/forks","keys_url":"https://api.github.com/repos/arhangeldim/track16/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arhangeldim/track16/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arhangeldim/track16/teams","hooks_url":"https://api.github.com/repos/arhangeldim/track16/hooks","issue_events_url":"https://api.github.com/repos/arhangeldim/track16/issues/events{/number}","events_url":"https://api.github.com/repos/arhangeldim/track16/events","assignees_url":"https://api.github.com/repos/arhangeldim/track16/assignees{/user}","branches_url":"https://api.github.com/repos/arhangeldim/track16/branches{/branch}","tags_url":"https://api.github.com/repos/arhangeldim/track16/tags","blobs_url":"https://api.github.com/repos/arhangeldim/track16/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arhangeldim/track16/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arhangeldim/track16/git/refs{/sha}","trees_url":"https://api.github.com/repos/arhangeldim/track16/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arhangeldim/track16/statuses/{sha}","languages_url":"https://api.github.com/repos/arhangeldim/track16/languages","stargazers_url":"https://api.github.com/repos/arhangeldim/track16/stargazers","contributors_url":"https://api.github.com/repos/arhangeldim/track16/contributors","subscribers_url":"https://api.github.com/repos/arhangeldim/track16/subscribers","subscription_url":"https://api.github.com/repos/arhangeldim/track16/subscription","commits_url":"https://api.github.com/repos/arhangeldim/track16/commits{/sha}","git_commits_url":"https://api.github.com/repos/arhangeldim/track16/git/commits{/sha}","comments_url":"https://api.github.com/repos/arhangeldim/track16/comments{/number}","issue_comment_url":"https://api.github.com/repos/arhangeldim/track16/issues/comments{/number}","contents_url":"https://api.github.com/repos/arhangeldim/track16/contents/{+path}","compare_url":"https://api.github.com/repos/arhangeldim/track16/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arhangeldim/track16/merges","archive_url":"https://api.github.com/repos/arhangeldim/track16/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arhangeldim/track16/downloads","issues_url":"https://api.github.com/repos/arhangeldim/track16/issues{/number}","pulls_url":"https://api.github.com/repos/arhangeldim/track16/pulls{/number}","milestones_url":"https://api.github.com/repos/arhangeldim/track16/milestones{/number}","notifications_url":"https://api.github.com/repos/arhangeldim/track16/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arhangeldim/track16/labels{/name}","releases_url":"https://api.github.com/repos/arhangeldim/track16/releases{/id}","deployments_url":"https://api.github.com/repos/arhangeldim/track16/deployments","created_at":"2016-09-21T14:08:02Z","updated_at":"2016-11-15T09:19:01Z","pushed_at":"2016-11-14T20:47:35Z","git_url":"git://github.com/arhangeldim/track16.git","ssh_url":"git@github.com:arhangeldim/track16.git","clone_url":"https://github.com/arhangeldim/track16.git","svn_url":"https://github.com/arhangeldim/track16","homepage":null,"size":4303,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":92,"forks":43,"open_issues":92,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arhangeldim/track16/pulls/118"},"html":{"href":"https://github.com/arhangeldim/track16/pull/118"},"issue":{"href":"https://api.github.com/repos/arhangeldim/track16/issues/118"},"comments":{"href":"https://api.github.com/repos/arhangeldim/track16/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/arhangeldim/track16/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/arhangeldim/track16/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arhangeldim/track16/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/arhangeldim/track16/statuses/25339b4795e1f2773d008fb50b1ac39d61dd1689"}}}}
{"actor":{"display_login":"geoolekom"}}