{"action":"created","comment":{"url":"https://api.github.com/repos/ably/ably-go/pulls/comments/32827749","id":32827749,"diff_hunk":"@@ -31,7 +31,7 @@ type ClientOptions struct {\n \tRealtimeHost string // optional; overwrite endpoint hostname for Realtime client\n \tEnvironment  string // optional; prefixes both hostname with the environment string\n \tKey          string // an authorization key in the 'name:secret' format\n-\tClientID     string // optional;\n+\tClientID     string // optional; required for realtime presence","path":"ably/options.go","position":5,"original_position":5,"commit_id":"c6980845b958e0b7ea7f0ca0bce17edfbdd57fdb","original_commit_id":"c6980845b958e0b7ea7f0ca0bce17edfbdd57fdb","user":{"login":"mattheworiordan","id":43789,"avatar_url":"https://avatars.githubusercontent.com/u/43789?v=3","gravatar_id":"","url":"https://api.github.com/users/mattheworiordan","html_url":"https://github.com/mattheworiordan","followers_url":"https://api.github.com/users/mattheworiordan/followers","following_url":"https://api.github.com/users/mattheworiordan/following{/other_user}","gists_url":"https://api.github.com/users/mattheworiordan/gists{/gist_id}","starred_url":"https://api.github.com/users/mattheworiordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattheworiordan/subscriptions","organizations_url":"https://api.github.com/users/mattheworiordan/orgs","repos_url":"https://api.github.com/users/mattheworiordan/repos","events_url":"https://api.github.com/users/mattheworiordan/events{/privacy}","received_events_url":"https://api.github.com/users/mattheworiordan/received_events","type":"User","site_admin":false},"body":"Not entirely true actually, but leave this in.  You can `enterClient` on behalf of another `clientId`.","created_at":"2015-06-19T13:24:21Z","updated_at":"2015-06-19T13:24:21Z","html_url":"https://github.com/ably/ably-go/pull/33#discussion_r32827749","pull_request_url":"https://api.github.com/repos/ably/ably-go/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/ably/ably-go/pulls/comments/32827749"},"html":{"href":"https://github.com/ably/ably-go/pull/33#discussion_r32827749"},"pull_request":{"href":"https://api.github.com/repos/ably/ably-go/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/ably/ably-go/pulls/33","id":37948747,"html_url":"https://github.com/ably/ably-go/pull/33","diff_url":"https://github.com/ably/ably-go/pull/33.diff","patch_url":"https://github.com/ably/ably-go/pull/33.patch","issue_url":"https://api.github.com/repos/ably/ably-go/issues/33","number":33,"state":"open","locked":false,"title":"ably: add RealtimePresence","user":{"login":"rjeczalik","id":1162017,"avatar_url":"https://avatars.githubusercontent.com/u/1162017?v=3","gravatar_id":"","url":"https://api.github.com/users/rjeczalik","html_url":"https://github.com/rjeczalik","followers_url":"https://api.github.com/users/rjeczalik/followers","following_url":"https://api.github.com/users/rjeczalik/following{/other_user}","gists_url":"https://api.github.com/users/rjeczalik/gists{/gist_id}","starred_url":"https://api.github.com/users/rjeczalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjeczalik/subscriptions","organizations_url":"https://api.github.com/users/rjeczalik/orgs","repos_url":"https://api.github.com/users/rjeczalik/repos","events_url":"https://api.github.com/users/rjeczalik/events{/privacy}","received_events_url":"https://api.github.com/users/rjeczalik/received_events","type":"User","site_admin":false},"body":"I'm still adding more tests to cover all cases, this CL contains only test for verifying presence event emitting and syncing presence maps between different connections.\r\n\r\nMore tests will follow in next PRs + after that I'll update features state under https://docs.google.com/spreadsheets/d/1gvN6y0KuzXsN6IOL4LGNbcIeZj-VKZ0U1dAhQrmPz7U/edit#gid=0.\r\n\r\n/cc @mattheworiordan @kouno @lmars Please take a look.","created_at":"2015-06-17T21:26:18Z","updated_at":"2015-06-19T13:24:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baf2756838e2d4dad059778b49fbc20749c2ef46","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ably/ably-go/pulls/33/commits","review_comments_url":"https://api.github.com/repos/ably/ably-go/pulls/33/comments","review_comment_url":"https://api.github.com/repos/ably/ably-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ably/ably-go/issues/33/comments","statuses_url":"https://api.github.com/repos/ably/ably-go/statuses/c6980845b958e0b7ea7f0ca0bce17edfbdd57fdb","head":{"label":"rjeczalik:master","ref":"master","sha":"c6980845b958e0b7ea7f0ca0bce17edfbdd57fdb","user":{"login":"rjeczalik","id":1162017,"avatar_url":"https://avatars.githubusercontent.com/u/1162017?v=3","gravatar_id":"","url":"https://api.github.com/users/rjeczalik","html_url":"https://github.com/rjeczalik","followers_url":"https://api.github.com/users/rjeczalik/followers","following_url":"https://api.github.com/users/rjeczalik/following{/other_user}","gists_url":"https://api.github.com/users/rjeczalik/gists{/gist_id}","starred_url":"https://api.github.com/users/rjeczalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjeczalik/subscriptions","organizations_url":"https://api.github.com/users/rjeczalik/orgs","repos_url":"https://api.github.com/users/rjeczalik/repos","events_url":"https://api.github.com/users/rjeczalik/events{/privacy}","received_events_url":"https://api.github.com/users/rjeczalik/received_events","type":"User","site_admin":false},"repo":{"id":33247084,"name":"ably-go","full_name":"rjeczalik/ably-go","owner":{"login":"rjeczalik","id":1162017,"avatar_url":"https://avatars.githubusercontent.com/u/1162017?v=3","gravatar_id":"","url":"https://api.github.com/users/rjeczalik","html_url":"https://github.com/rjeczalik","followers_url":"https://api.github.com/users/rjeczalik/followers","following_url":"https://api.github.com/users/rjeczalik/following{/other_user}","gists_url":"https://api.github.com/users/rjeczalik/gists{/gist_id}","starred_url":"https://api.github.com/users/rjeczalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjeczalik/subscriptions","organizations_url":"https://api.github.com/users/rjeczalik/orgs","repos_url":"https://api.github.com/users/rjeczalik/repos","events_url":"https://api.github.com/users/rjeczalik/events{/privacy}","received_events_url":"https://api.github.com/users/rjeczalik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rjeczalik/ably-go","description":"Go client for Ably real-time messaging service","fork":true,"url":"https://api.github.com/repos/rjeczalik/ably-go","forks_url":"https://api.github.com/repos/rjeczalik/ably-go/forks","keys_url":"https://api.github.com/repos/rjeczalik/ably-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rjeczalik/ably-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rjeczalik/ably-go/teams","hooks_url":"https://api.github.com/repos/rjeczalik/ably-go/hooks","issue_events_url":"https://api.github.com/repos/rjeczalik/ably-go/issues/events{/number}","events_url":"https://api.github.com/repos/rjeczalik/ably-go/events","assignees_url":"https://api.github.com/repos/rjeczalik/ably-go/assignees{/user}","branches_url":"https://api.github.com/repos/rjeczalik/ably-go/branches{/branch}","tags_url":"https://api.github.com/repos/rjeczalik/ably-go/tags","blobs_url":"https://api.github.com/repos/rjeczalik/ably-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rjeczalik/ably-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rjeczalik/ably-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/rjeczalik/ably-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rjeczalik/ably-go/statuses/{sha}","languages_url":"https://api.github.com/repos/rjeczalik/ably-go/languages","stargazers_url":"https://api.github.com/repos/rjeczalik/ably-go/stargazers","contributors_url":"https://api.github.com/repos/rjeczalik/ably-go/contributors","subscribers_url":"https://api.github.com/repos/rjeczalik/ably-go/subscribers","subscription_url":"https://api.github.com/repos/rjeczalik/ably-go/subscription","commits_url":"https://api.github.com/repos/rjeczalik/ably-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/rjeczalik/ably-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/rjeczalik/ably-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/rjeczalik/ably-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/rjeczalik/ably-go/contents/{+path}","compare_url":"https://api.github.com/repos/rjeczalik/ably-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rjeczalik/ably-go/merges","archive_url":"https://api.github.com/repos/rjeczalik/ably-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rjeczalik/ably-go/downloads","issues_url":"https://api.github.com/repos/rjeczalik/ably-go/issues{/number}","pulls_url":"https://api.github.com/repos/rjeczalik/ably-go/pulls{/number}","milestones_url":"https://api.github.com/repos/rjeczalik/ably-go/milestones{/number}","notifications_url":"https://api.github.com/repos/rjeczalik/ably-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rjeczalik/ably-go/labels{/name}","releases_url":"https://api.github.com/repos/rjeczalik/ably-go/releases{/id}","created_at":"2015-04-01T12:48:55Z","updated_at":"2015-04-28T05:43:39Z","pushed_at":"2015-06-17T21:17:45Z","git_url":"git://github.com/rjeczalik/ably-go.git","ssh_url":"git@github.com:rjeczalik/ably-go.git","clone_url":"https://github.com/rjeczalik/ably-go.git","svn_url":"https://github.com/rjeczalik/ably-go","homepage":"","size":826,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"ably:master","ref":"master","sha":"d5d313cfb91e1bbf4fc2476f477d53d20816d063","user":{"login":"ably","id":1859245,"avatar_url":"https://avatars.githubusercontent.com/u/1859245?v=3","gravatar_id":"","url":"https://api.github.com/users/ably","html_url":"https://github.com/ably","followers_url":"https://api.github.com/users/ably/followers","following_url":"https://api.github.com/users/ably/following{/other_user}","gists_url":"https://api.github.com/users/ably/gists{/gist_id}","starred_url":"https://api.github.com/users/ably/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ably/subscriptions","organizations_url":"https://api.github.com/users/ably/orgs","repos_url":"https://api.github.com/users/ably/repos","events_url":"https://api.github.com/users/ably/events{/privacy}","received_events_url":"https://api.github.com/users/ably/received_events","type":"Organization","site_admin":false},"repo":{"id":27377399,"name":"ably-go","full_name":"ably/ably-go","owner":{"login":"ably","id":1859245,"avatar_url":"https://avatars.githubusercontent.com/u/1859245?v=3","gravatar_id":"","url":"https://api.github.com/users/ably","html_url":"https://github.com/ably","followers_url":"https://api.github.com/users/ably/followers","following_url":"https://api.github.com/users/ably/following{/other_user}","gists_url":"https://api.github.com/users/ably/gists{/gist_id}","starred_url":"https://api.github.com/users/ably/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ably/subscriptions","organizations_url":"https://api.github.com/users/ably/orgs","repos_url":"https://api.github.com/users/ably/repos","events_url":"https://api.github.com/users/ably/events{/privacy}","received_events_url":"https://api.github.com/users/ably/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ably/ably-go","description":"Go client for Ably real-time messaging service","fork":false,"url":"https://api.github.com/repos/ably/ably-go","forks_url":"https://api.github.com/repos/ably/ably-go/forks","keys_url":"https://api.github.com/repos/ably/ably-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ably/ably-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ably/ably-go/teams","hooks_url":"https://api.github.com/repos/ably/ably-go/hooks","issue_events_url":"https://api.github.com/repos/ably/ably-go/issues/events{/number}","events_url":"https://api.github.com/repos/ably/ably-go/events","assignees_url":"https://api.github.com/repos/ably/ably-go/assignees{/user}","branches_url":"https://api.github.com/repos/ably/ably-go/branches{/branch}","tags_url":"https://api.github.com/repos/ably/ably-go/tags","blobs_url":"https://api.github.com/repos/ably/ably-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ably/ably-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ably/ably-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/ably/ably-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ably/ably-go/statuses/{sha}","languages_url":"https://api.github.com/repos/ably/ably-go/languages","stargazers_url":"https://api.github.com/repos/ably/ably-go/stargazers","contributors_url":"https://api.github.com/repos/ably/ably-go/contributors","subscribers_url":"https://api.github.com/repos/ably/ably-go/subscribers","subscription_url":"https://api.github.com/repos/ably/ably-go/subscription","commits_url":"https://api.github.com/repos/ably/ably-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/ably/ably-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/ably/ably-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/ably/ably-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/ably/ably-go/contents/{+path}","compare_url":"https://api.github.com/repos/ably/ably-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ably/ably-go/merges","archive_url":"https://api.github.com/repos/ably/ably-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ably/ably-go/downloads","issues_url":"https://api.github.com/repos/ably/ably-go/issues{/number}","pulls_url":"https://api.github.com/repos/ably/ably-go/pulls{/number}","milestones_url":"https://api.github.com/repos/ably/ably-go/milestones{/number}","notifications_url":"https://api.github.com/repos/ably/ably-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ably/ably-go/labels{/name}","releases_url":"https://api.github.com/repos/ably/ably-go/releases{/id}","created_at":"2014-12-01T11:57:59Z","updated_at":"2015-05-05T09:19:30Z","pushed_at":"2015-06-17T21:26:18Z","git_url":"git://github.com/ably/ably-go.git","ssh_url":"git@github.com:ably/ably-go.git","clone_url":"https://github.com/ably/ably-go.git","svn_url":"https://github.com/ably/ably-go","homepage":null,"size":1171,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":10,"forks":3,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ably/ably-go/pulls/33"},"html":{"href":"https://github.com/ably/ably-go/pull/33"},"issue":{"href":"https://api.github.com/repos/ably/ably-go/issues/33"},"comments":{"href":"https://api.github.com/repos/ably/ably-go/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/ably/ably-go/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/ably/ably-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ably/ably-go/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/ably/ably-go/statuses/c6980845b958e0b7ea7f0ca0bce17edfbdd57fdb"}}}}