{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/212425840","pull_request_review_id":149057829,"id":212425840,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjQyNTg0MA==","diff_hunk":"@@ -32,29 +100,104 @@ void Subscription::Register(SubscriptionListener * listener)\n   listener->OnSubscriptionChanged(IsActive());\n }\n \n+void Subscription::SetValidationCallback(ValidationCallback && callback)\n+{\n+  CHECK_THREAD_CHECKER(m_threadChecker, ());\n+  m_validationCallback = std::move(callback);\n+}\n+\n bool Subscription::IsActive() const\n {\n   return m_isActive;","path":"map/subscription.cpp","position":100,"original_position":100,"commit_id":"fcd92acc52cbbb0a393797ecbb5aea3ed411163c","original_commit_id":"fcd92acc52cbbb0a393797ecbb5aea3ed411163c","user":{"login":"rokuz","id":5437220,"node_id":"MDQ6VXNlcjU0MzcyMjA=","avatar_url":"https://avatars1.githubusercontent.com/u/5437220?v=4","gravatar_id":"","url":"https://api.github.com/users/rokuz","html_url":"https://github.com/rokuz","followers_url":"https://api.github.com/users/rokuz/followers","following_url":"https://api.github.com/users/rokuz/following{/other_user}","gists_url":"https://api.github.com/users/rokuz/gists{/gist_id}","starred_url":"https://api.github.com/users/rokuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokuz/subscriptions","organizations_url":"https://api.github.com/users/rokuz/orgs","repos_url":"https://api.github.com/users/rokuz/repos","events_url":"https://api.github.com/users/rokuz/events{/privacy}","received_events_url":"https://api.github.com/users/rokuz/received_events","type":"User","site_admin":false},"body":"Не привязана. Это локальное значение, на другом будет сгенерирован свой хэш","created_at":"2018-08-23T19:14:07Z","updated_at":"2018-08-23T19:14:07Z","html_url":"https://github.com/mapsme/omim/pull/9347#discussion_r212425840","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/9347","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/212425840"},"html":{"href":"https://github.com/mapsme/omim/pull/9347#discussion_r212425840"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/9347"}},"in_reply_to_id":212357607},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/9347","id":210421464,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNDIxNDY0","html_url":"https://github.com/mapsme/omim/pull/9347","diff_url":"https://github.com/mapsme/omim/pull/9347.diff","patch_url":"https://github.com/mapsme/omim/pull/9347.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/9347","number":9347,"state":"open","locked":false,"title":"Added client-server interaction for subscription validation","user":{"login":"rokuz","id":5437220,"node_id":"MDQ6VXNlcjU0MzcyMjA=","avatar_url":"https://avatars1.githubusercontent.com/u/5437220?v=4","gravatar_id":"","url":"https://api.github.com/users/rokuz","html_url":"https://github.com/rokuz","followers_url":"https://api.github.com/users/rokuz/followers","following_url":"https://api.github.com/users/rokuz/following{/other_user}","gists_url":"https://api.github.com/users/rokuz/gists{/gist_id}","starred_url":"https://api.github.com/users/rokuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokuz/subscriptions","organizations_url":"https://api.github.com/users/rokuz/orgs","repos_url":"https://api.github.com/users/rokuz/repos","events_url":"https://api.github.com/users/rokuz/events{/privacy}","received_events_url":"https://api.github.com/users/rokuz/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-23T11:50:10Z","updated_at":"2018-08-23T19:14:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82ec3c5398382210f82caf231af2678651aeaa99","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/9347/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/9347/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/9347/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/fcd92acc52cbbb0a393797ecbb5aea3ed411163c","head":{"label":"rokuz:purchase-client-server","ref":"purchase-client-server","sha":"fcd92acc52cbbb0a393797ecbb5aea3ed411163c","user":{"login":"rokuz","id":5437220,"node_id":"MDQ6VXNlcjU0MzcyMjA=","avatar_url":"https://avatars1.githubusercontent.com/u/5437220?v=4","gravatar_id":"","url":"https://api.github.com/users/rokuz","html_url":"https://github.com/rokuz","followers_url":"https://api.github.com/users/rokuz/followers","following_url":"https://api.github.com/users/rokuz/following{/other_user}","gists_url":"https://api.github.com/users/rokuz/gists{/gist_id}","starred_url":"https://api.github.com/users/rokuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokuz/subscriptions","organizations_url":"https://api.github.com/users/rokuz/orgs","repos_url":"https://api.github.com/users/rokuz/repos","events_url":"https://api.github.com/users/rokuz/events{/privacy}","received_events_url":"https://api.github.com/users/rokuz/received_events","type":"User","site_admin":false},"repo":{"id":43427777,"node_id":"MDEwOlJlcG9zaXRvcnk0MzQyNzc3Nw==","name":"omim","full_name":"rokuz/omim","owner":{"login":"rokuz","id":5437220,"node_id":"MDQ6VXNlcjU0MzcyMjA=","avatar_url":"https://avatars1.githubusercontent.com/u/5437220?v=4","gravatar_id":"","url":"https://api.github.com/users/rokuz","html_url":"https://github.com/rokuz","followers_url":"https://api.github.com/users/rokuz/followers","following_url":"https://api.github.com/users/rokuz/following{/other_user}","gists_url":"https://api.github.com/users/rokuz/gists{/gist_id}","starred_url":"https://api.github.com/users/rokuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokuz/subscriptions","organizations_url":"https://api.github.com/users/rokuz/orgs","repos_url":"https://api.github.com/users/rokuz/repos","events_url":"https://api.github.com/users/rokuz/events{/privacy}","received_events_url":"https://api.github.com/users/rokuz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rokuz/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/rokuz/omim","forks_url":"https://api.github.com/repos/rokuz/omim/forks","keys_url":"https://api.github.com/repos/rokuz/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rokuz/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rokuz/omim/teams","hooks_url":"https://api.github.com/repos/rokuz/omim/hooks","issue_events_url":"https://api.github.com/repos/rokuz/omim/issues/events{/number}","events_url":"https://api.github.com/repos/rokuz/omim/events","assignees_url":"https://api.github.com/repos/rokuz/omim/assignees{/user}","branches_url":"https://api.github.com/repos/rokuz/omim/branches{/branch}","tags_url":"https://api.github.com/repos/rokuz/omim/tags","blobs_url":"https://api.github.com/repos/rokuz/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rokuz/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rokuz/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/rokuz/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rokuz/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/rokuz/omim/languages","stargazers_url":"https://api.github.com/repos/rokuz/omim/stargazers","contributors_url":"https://api.github.com/repos/rokuz/omim/contributors","subscribers_url":"https://api.github.com/repos/rokuz/omim/subscribers","subscription_url":"https://api.github.com/repos/rokuz/omim/subscription","commits_url":"https://api.github.com/repos/rokuz/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/rokuz/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/rokuz/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/rokuz/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/rokuz/omim/contents/{+path}","compare_url":"https://api.github.com/repos/rokuz/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rokuz/omim/merges","archive_url":"https://api.github.com/repos/rokuz/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rokuz/omim/downloads","issues_url":"https://api.github.com/repos/rokuz/omim/issues{/number}","pulls_url":"https://api.github.com/repos/rokuz/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/rokuz/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/rokuz/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rokuz/omim/labels{/name}","releases_url":"https://api.github.com/repos/rokuz/omim/releases{/id}","deployments_url":"https://api.github.com/repos/rokuz/omim/deployments","created_at":"2015-09-30T10:51:34Z","updated_at":"2018-08-23T07:31:41Z","pushed_at":"2018-08-23T11:47:11Z","git_url":"git://github.com/rokuz/omim.git","ssh_url":"git@github.com:rokuz/omim.git","clone_url":"https://github.com/rokuz/omim.git","svn_url":"https://github.com/rokuz/omim","homepage":null,"size":4129602,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"mapsme:master","ref":"master","sha":"8ba105a2ba41e4aaa35f47a1eb4e4403d96222b6","user":{"login":"mapsme","id":14185141,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTg1MTQx","avatar_url":"https://avatars1.githubusercontent.com/u/14185141?v=4","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"repo":{"id":42798033,"node_id":"MDEwOlJlcG9zaXRvcnk0Mjc5ODAzMw==","name":"omim","full_name":"mapsme/omim","owner":{"login":"mapsme","id":14185141,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTg1MTQx","avatar_url":"https://avatars1.githubusercontent.com/u/14185141?v=4","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapsme/omim","description":"🗺️ MAPS.ME — Offline OpenStreetMap maps for iOS and Android","fork":false,"url":"https://api.github.com/repos/mapsme/omim","forks_url":"https://api.github.com/repos/mapsme/omim/forks","keys_url":"https://api.github.com/repos/mapsme/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapsme/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapsme/omim/teams","hooks_url":"https://api.github.com/repos/mapsme/omim/hooks","issue_events_url":"https://api.github.com/repos/mapsme/omim/issues/events{/number}","events_url":"https://api.github.com/repos/mapsme/omim/events","assignees_url":"https://api.github.com/repos/mapsme/omim/assignees{/user}","branches_url":"https://api.github.com/repos/mapsme/omim/branches{/branch}","tags_url":"https://api.github.com/repos/mapsme/omim/tags","blobs_url":"https://api.github.com/repos/mapsme/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapsme/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapsme/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapsme/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/mapsme/omim/languages","stargazers_url":"https://api.github.com/repos/mapsme/omim/stargazers","contributors_url":"https://api.github.com/repos/mapsme/omim/contributors","subscribers_url":"https://api.github.com/repos/mapsme/omim/subscribers","subscription_url":"https://api.github.com/repos/mapsme/omim/subscription","commits_url":"https://api.github.com/repos/mapsme/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapsme/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapsme/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapsme/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapsme/omim/contents/{+path}","compare_url":"https://api.github.com/repos/mapsme/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapsme/omim/merges","archive_url":"https://api.github.com/repos/mapsme/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapsme/omim/downloads","issues_url":"https://api.github.com/repos/mapsme/omim/issues{/number}","pulls_url":"https://api.github.com/repos/mapsme/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/mapsme/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/mapsme/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapsme/omim/labels{/name}","releases_url":"https://api.github.com/repos/mapsme/omim/releases{/id}","deployments_url":"https://api.github.com/repos/mapsme/omim/deployments","created_at":"2015-09-20T02:57:13Z","updated_at":"2018-08-23T15:09:05Z","pushed_at":"2018-08-23T16:31:18Z","git_url":"git://github.com/mapsme/omim.git","ssh_url":"git@github.com:mapsme/omim.git","clone_url":"https://github.com/mapsme/omim.git","svn_url":"https://github.com/mapsme/omim","homepage":"","size":4054216,"stargazers_count":2754,"watchers_count":2754,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":596,"mirror_url":null,"archived":false,"open_issues_count":728,"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":596,"open_issues":728,"watchers":2754,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/9347"},"html":{"href":"https://github.com/mapsme/omim/pull/9347"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/9347"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/9347/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/9347/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/9347/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/fcd92acc52cbbb0a393797ecbb5aea3ed411163c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rokuz"}}