{"action":"created","comment":{"url":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/comments/85927145","pull_request_review_id":6609299,"id":85927145,"diff_hunk":"@@ -36,27 +37,33 @@ public Location(Context context) {\n         this.name = \"\";\n         this.radius = Constants.DEFAULT_RADIUS_METERS;\n         this.cameraZoom = Constants.DEFAULT_CAMERA_ZOOM;\n-        this.channels = new ArrayList<String>(Arrays.asList(\"oficina\"));\n+        this.channelsByName = new ArrayList<String>(Arrays.asList(\"oficina\"));\n+        this.channelsByID = new ArrayList<String>(Arrays.asList(\"C04C5T185\"));\n     }\n \n-    public Location(String name, double latitude, double longitude, float radius, float cameraZoom, List<String> channels) {\n+    public Location(String name, double latitude, double longitude, float radius, float cameraZoom, List<String> channelsByName, List<String> channelsByID) {\n         this.name = name;\n         this.latitude = latitude;\n         this.longitude = longitude;\n         this.radius = radius;\n         this.cameraZoom = cameraZoom;\n-        this.channels = channels;\n+        this.channelsByName = channelsByName;\n+        this.channelsByID = channelsByID;\n     }\n \n     public static Location getSCVLocation() {\n-        ArrayList<String> channels = new ArrayList<>();\n-        channels.add(\"oficina\");\n-        return new Location(Constants.OFFICE, Constants.SCV_OFFICE_LAT, Constants.SCV_OFFICE_LONG, 100, 15.0f, channels);\n+        ArrayList<String> channelsByName = new ArrayList<>();\n+        channelsByName.add(\"oficina\");","path":"app/src/main/java/com/scv/slackgo/models/Location.java","position":36,"original_position":36,"commit_id":"36099602473bc9269f923184547f4be021c5c64d","original_commit_id":"36099602473bc9269f923184547f4be021c5c64d","user":{"login":"ayelen","id":1290932,"avatar_url":"https://avatars.githubusercontent.com/u/1290932?v=3","gravatar_id":"","url":"https://api.github.com/users/ayelen","html_url":"https://github.com/ayelen","followers_url":"https://api.github.com/users/ayelen/followers","following_url":"https://api.github.com/users/ayelen/following{/other_user}","gists_url":"https://api.github.com/users/ayelen/gists{/gist_id}","starred_url":"https://api.github.com/users/ayelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayelen/subscriptions","organizations_url":"https://api.github.com/users/ayelen/orgs","repos_url":"https://api.github.com/users/ayelen/repos","events_url":"https://api.github.com/users/ayelen/events{/privacy}","received_events_url":"https://api.github.com/users/ayelen/received_events","type":"User","site_admin":false},"body":"Constants.OFFICE","created_at":"2016-11-01T13:27:11Z","updated_at":"2016-11-01T13:27:11Z","html_url":"https://github.com/scvsoft/SlackGo-Android/pull/41#discussion_r85927145","pull_request_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/comments/85927145"},"html":{"href":"https://github.com/scvsoft/SlackGo-Android/pull/41#discussion_r85927145"},"pull_request":{"href":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/41","id":91680990,"html_url":"https://github.com/scvsoft/SlackGo-Android/pull/41","diff_url":"https://github.com/scvsoft/SlackGo-Android/pull/41.diff","patch_url":"https://github.com/scvsoft/SlackGo-Android/pull/41.patch","issue_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues/41","number":41,"state":"open","locked":false,"title":"Resolve #36. ","user":{"login":"kadorrna","id":779203,"avatar_url":"https://avatars.githubusercontent.com/u/779203?v=3","gravatar_id":"","url":"https://api.github.com/users/kadorrna","html_url":"https://github.com/kadorrna","followers_url":"https://api.github.com/users/kadorrna/followers","following_url":"https://api.github.com/users/kadorrna/following{/other_user}","gists_url":"https://api.github.com/users/kadorrna/gists{/gist_id}","starred_url":"https://api.github.com/users/kadorrna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadorrna/subscriptions","organizations_url":"https://api.github.com/users/kadorrna/orgs","repos_url":"https://api.github.com/users/kadorrna/repos","events_url":"https://api.github.com/users/kadorrna/events{/privacy}","received_events_url":"https://api.github.com/users/kadorrna/received_events","type":"User","site_admin":false},"body":"Joining and leaving correct channels when geofence is transitioned.","created_at":"2016-10-31T20:09:49Z","updated_at":"2016-11-01T13:27:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a260a9d9fbf2a1e1fa4cbab4c721611d5f697b78","assignee":{"login":"ayelen","id":1290932,"avatar_url":"https://avatars.githubusercontent.com/u/1290932?v=3","gravatar_id":"","url":"https://api.github.com/users/ayelen","html_url":"https://github.com/ayelen","followers_url":"https://api.github.com/users/ayelen/followers","following_url":"https://api.github.com/users/ayelen/following{/other_user}","gists_url":"https://api.github.com/users/ayelen/gists{/gist_id}","starred_url":"https://api.github.com/users/ayelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayelen/subscriptions","organizations_url":"https://api.github.com/users/ayelen/orgs","repos_url":"https://api.github.com/users/ayelen/repos","events_url":"https://api.github.com/users/ayelen/events{/privacy}","received_events_url":"https://api.github.com/users/ayelen/received_events","type":"User","site_admin":false},"assignees":[{"login":"ayelen","id":1290932,"avatar_url":"https://avatars.githubusercontent.com/u/1290932?v=3","gravatar_id":"","url":"https://api.github.com/users/ayelen","html_url":"https://github.com/ayelen","followers_url":"https://api.github.com/users/ayelen/followers","following_url":"https://api.github.com/users/ayelen/following{/other_user}","gists_url":"https://api.github.com/users/ayelen/gists{/gist_id}","starred_url":"https://api.github.com/users/ayelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayelen/subscriptions","organizations_url":"https://api.github.com/users/ayelen/orgs","repos_url":"https://api.github.com/users/ayelen/repos","events_url":"https://api.github.com/users/ayelen/events{/privacy}","received_events_url":"https://api.github.com/users/ayelen/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/41/commits","review_comments_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/41/comments","review_comment_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues/41/comments","statuses_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/statuses/36099602473bc9269f923184547f4be021c5c64d","head":{"label":"scvsoft:issue-36","ref":"issue-36","sha":"36099602473bc9269f923184547f4be021c5c64d","user":{"login":"scvsoft","id":1280426,"avatar_url":"https://avatars.githubusercontent.com/u/1280426?v=3","gravatar_id":"","url":"https://api.github.com/users/scvsoft","html_url":"https://github.com/scvsoft","followers_url":"https://api.github.com/users/scvsoft/followers","following_url":"https://api.github.com/users/scvsoft/following{/other_user}","gists_url":"https://api.github.com/users/scvsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/scvsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scvsoft/subscriptions","organizations_url":"https://api.github.com/users/scvsoft/orgs","repos_url":"https://api.github.com/users/scvsoft/repos","events_url":"https://api.github.com/users/scvsoft/events{/privacy}","received_events_url":"https://api.github.com/users/scvsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":65231583,"name":"SlackGo-Android","full_name":"scvsoft/SlackGo-Android","owner":{"login":"scvsoft","id":1280426,"avatar_url":"https://avatars.githubusercontent.com/u/1280426?v=3","gravatar_id":"","url":"https://api.github.com/users/scvsoft","html_url":"https://github.com/scvsoft","followers_url":"https://api.github.com/users/scvsoft/followers","following_url":"https://api.github.com/users/scvsoft/following{/other_user}","gists_url":"https://api.github.com/users/scvsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/scvsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scvsoft/subscriptions","organizations_url":"https://api.github.com/users/scvsoft/orgs","repos_url":"https://api.github.com/users/scvsoft/repos","events_url":"https://api.github.com/users/scvsoft/events{/privacy}","received_events_url":"https://api.github.com/users/scvsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scvsoft/SlackGo-Android","description":null,"fork":false,"url":"https://api.github.com/repos/scvsoft/SlackGo-Android","forks_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/forks","keys_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/teams","hooks_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/hooks","issue_events_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues/events{/number}","events_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/events","assignees_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/assignees{/user}","branches_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/branches{/branch}","tags_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/tags","blobs_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/languages","stargazers_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/stargazers","contributors_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/contributors","subscribers_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/subscribers","subscription_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/subscription","commits_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/contents/{+path}","compare_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/merges","archive_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/downloads","issues_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues{/number}","pulls_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/labels{/name}","releases_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/releases{/id}","deployments_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/deployments","created_at":"2016-08-08T19:09:49Z","updated_at":"2016-10-11T14:49:21Z","pushed_at":"2016-10-31T20:09:49Z","git_url":"git://github.com/scvsoft/SlackGo-Android.git","ssh_url":"git@github.com:scvsoft/SlackGo-Android.git","clone_url":"https://github.com/scvsoft/SlackGo-Android.git","svn_url":"https://github.com/scvsoft/SlackGo-Android","homepage":null,"size":243,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"scvsoft:master","ref":"master","sha":"e310c618b09d4fcf9c101a1522236aa378239e7c","user":{"login":"scvsoft","id":1280426,"avatar_url":"https://avatars.githubusercontent.com/u/1280426?v=3","gravatar_id":"","url":"https://api.github.com/users/scvsoft","html_url":"https://github.com/scvsoft","followers_url":"https://api.github.com/users/scvsoft/followers","following_url":"https://api.github.com/users/scvsoft/following{/other_user}","gists_url":"https://api.github.com/users/scvsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/scvsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scvsoft/subscriptions","organizations_url":"https://api.github.com/users/scvsoft/orgs","repos_url":"https://api.github.com/users/scvsoft/repos","events_url":"https://api.github.com/users/scvsoft/events{/privacy}","received_events_url":"https://api.github.com/users/scvsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":65231583,"name":"SlackGo-Android","full_name":"scvsoft/SlackGo-Android","owner":{"login":"scvsoft","id":1280426,"avatar_url":"https://avatars.githubusercontent.com/u/1280426?v=3","gravatar_id":"","url":"https://api.github.com/users/scvsoft","html_url":"https://github.com/scvsoft","followers_url":"https://api.github.com/users/scvsoft/followers","following_url":"https://api.github.com/users/scvsoft/following{/other_user}","gists_url":"https://api.github.com/users/scvsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/scvsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scvsoft/subscriptions","organizations_url":"https://api.github.com/users/scvsoft/orgs","repos_url":"https://api.github.com/users/scvsoft/repos","events_url":"https://api.github.com/users/scvsoft/events{/privacy}","received_events_url":"https://api.github.com/users/scvsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scvsoft/SlackGo-Android","description":null,"fork":false,"url":"https://api.github.com/repos/scvsoft/SlackGo-Android","forks_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/forks","keys_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/teams","hooks_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/hooks","issue_events_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues/events{/number}","events_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/events","assignees_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/assignees{/user}","branches_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/branches{/branch}","tags_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/tags","blobs_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/languages","stargazers_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/stargazers","contributors_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/contributors","subscribers_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/subscribers","subscription_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/subscription","commits_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/contents/{+path}","compare_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/merges","archive_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/downloads","issues_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues{/number}","pulls_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/labels{/name}","releases_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/releases{/id}","deployments_url":"https://api.github.com/repos/scvsoft/SlackGo-Android/deployments","created_at":"2016-08-08T19:09:49Z","updated_at":"2016-10-11T14:49:21Z","pushed_at":"2016-10-31T20:09:49Z","git_url":"git://github.com/scvsoft/SlackGo-Android.git","ssh_url":"git@github.com:scvsoft/SlackGo-Android.git","clone_url":"https://github.com/scvsoft/SlackGo-Android.git","svn_url":"https://github.com/scvsoft/SlackGo-Android","homepage":null,"size":243,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/41"},"html":{"href":"https://github.com/scvsoft/SlackGo-Android/pull/41"},"issue":{"href":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues/41"},"comments":{"href":"https://api.github.com/repos/scvsoft/SlackGo-Android/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scvsoft/SlackGo-Android/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/scvsoft/SlackGo-Android/statuses/36099602473bc9269f923184547f4be021c5c64d"}}}}
{"actor":{"display_login":"ayelen"}}