{"action":"created","comment":{"url":"https://api.github.com/repos/metamaps/metamaps/pulls/comments/100341169","pull_request_review_id":21046236,"id":100341169,"diff_hunk":"@@ -47,9 +49,11 @@ def update\n     @synapse = Synapse.find(params[:id])\n     @synapse.desc = '' if @synapse.desc.nil?\n     authorize @synapse\n+    @synapse.updated_by = current_user\n+    @synapse.assign_attributes(synapse_params)","path":"app/controllers/synapses_controller.rb","position":14,"original_position":14,"commit_id":"fb444501f3997ccb602a8cdc66f98ec98ab2b2d2","original_commit_id":"fd5e89e3c3856c7b1250c70a28f997f2f27c5c1a","user":{"login":"Connoropolous","id":1409121,"avatar_url":"https://avatars.githubusercontent.com/u/1409121?v=3","gravatar_id":"","url":"https://api.github.com/users/Connoropolous","html_url":"https://github.com/Connoropolous","followers_url":"https://api.github.com/users/Connoropolous/followers","following_url":"https://api.github.com/users/Connoropolous/following{/other_user}","gists_url":"https://api.github.com/users/Connoropolous/gists{/gist_id}","starred_url":"https://api.github.com/users/Connoropolous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connoropolous/subscriptions","organizations_url":"https://api.github.com/users/Connoropolous/orgs","repos_url":"https://api.github.com/users/Connoropolous/repos","events_url":"https://api.github.com/users/Connoropolous/events{/privacy}","received_events_url":"https://api.github.com/users/Connoropolous/received_events","type":"User","site_admin":false},"body":"shouldn't be*","created_at":"2017-02-09T16:06:29Z","updated_at":"2017-02-09T16:06:29Z","html_url":"https://github.com/metamaps/metamaps/pull/1063#discussion_r100341169","pull_request_url":"https://api.github.com/repos/metamaps/metamaps/pulls/1063","_links":{"self":{"href":"https://api.github.com/repos/metamaps/metamaps/pulls/comments/100341169"},"html":{"href":"https://github.com/metamaps/metamaps/pull/1063#discussion_r100341169"},"pull_request":{"href":"https://api.github.com/repos/metamaps/metamaps/pulls/1063"}}},"pull_request":{"url":"https://api.github.com/repos/metamaps/metamaps/pulls/1063","id":105159778,"html_url":"https://github.com/metamaps/metamaps/pull/1063","diff_url":"https://github.com/metamaps/metamaps/pull/1063.diff","patch_url":"https://github.com/metamaps/metamaps/pull/1063.patch","issue_url":"https://api.github.com/repos/metamaps/metamaps/issues/1063","number":1063,"state":"open","locked":false,"title":"Follows and some new notifications","user":{"login":"Connoropolous","id":1409121,"avatar_url":"https://avatars.githubusercontent.com/u/1409121?v=3","gravatar_id":"","url":"https://api.github.com/users/Connoropolous","html_url":"https://github.com/Connoropolous","followers_url":"https://api.github.com/users/Connoropolous/followers","following_url":"https://api.github.com/users/Connoropolous/following{/other_user}","gists_url":"https://api.github.com/users/Connoropolous/gists{/gist_id}","starred_url":"https://api.github.com/users/Connoropolous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connoropolous/subscriptions","organizations_url":"https://api.github.com/users/Connoropolous/orgs","repos_url":"https://api.github.com/users/Connoropolous/repos","events_url":"https://api.github.com/users/Connoropolous/events{/privacy}","received_events_url":"https://api.github.com/users/Connoropolous/received_events","type":"User","site_admin":false},"body":"- [x] discovered a bug where inviting someone to edit, then deleting their access, breaks that other persons notifications page, because its looking for something that doesn't exist\r\n- [x] fix topic and synapse history creation, by adding 'updated_by'\r\n- [ ] figure out how to handle permissions in notifications\r\n- [ ] figure out how to handle situations where dual notifications would get sent, due to the person following both topics connected by a synapse, or a topic & the map its gets added to","created_at":"2017-02-08T07:02:17Z","updated_at":"2017-02-09T16:06:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"786b5c17eeed45fd39a7eb1e7809d4e17bc5c270","assignee":{"login":"Connoropolous","id":1409121,"avatar_url":"https://avatars.githubusercontent.com/u/1409121?v=3","gravatar_id":"","url":"https://api.github.com/users/Connoropolous","html_url":"https://github.com/Connoropolous","followers_url":"https://api.github.com/users/Connoropolous/followers","following_url":"https://api.github.com/users/Connoropolous/following{/other_user}","gists_url":"https://api.github.com/users/Connoropolous/gists{/gist_id}","starred_url":"https://api.github.com/users/Connoropolous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connoropolous/subscriptions","organizations_url":"https://api.github.com/users/Connoropolous/orgs","repos_url":"https://api.github.com/users/Connoropolous/repos","events_url":"https://api.github.com/users/Connoropolous/events{/privacy}","received_events_url":"https://api.github.com/users/Connoropolous/received_events","type":"User","site_admin":false},"assignees":[{"login":"Connoropolous","id":1409121,"avatar_url":"https://avatars.githubusercontent.com/u/1409121?v=3","gravatar_id":"","url":"https://api.github.com/users/Connoropolous","html_url":"https://github.com/Connoropolous","followers_url":"https://api.github.com/users/Connoropolous/followers","following_url":"https://api.github.com/users/Connoropolous/following{/other_user}","gists_url":"https://api.github.com/users/Connoropolous/gists{/gist_id}","starred_url":"https://api.github.com/users/Connoropolous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connoropolous/subscriptions","organizations_url":"https://api.github.com/users/Connoropolous/orgs","repos_url":"https://api.github.com/users/Connoropolous/repos","events_url":"https://api.github.com/users/Connoropolous/events{/privacy}","received_events_url":"https://api.github.com/users/Connoropolous/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/metamaps/metamaps/pulls/1063/commits","review_comments_url":"https://api.github.com/repos/metamaps/metamaps/pulls/1063/comments","review_comment_url":"https://api.github.com/repos/metamaps/metamaps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metamaps/metamaps/issues/1063/comments","statuses_url":"https://api.github.com/repos/metamaps/metamaps/statuses/fb444501f3997ccb602a8cdc66f98ec98ab2b2d2","head":{"label":"metamaps:feature/follows","ref":"feature/follows","sha":"fb444501f3997ccb602a8cdc66f98ec98ab2b2d2","user":{"login":"metamaps","id":8736555,"avatar_url":"https://avatars.githubusercontent.com/u/8736555?v=3","gravatar_id":"","url":"https://api.github.com/users/metamaps","html_url":"https://github.com/metamaps","followers_url":"https://api.github.com/users/metamaps/followers","following_url":"https://api.github.com/users/metamaps/following{/other_user}","gists_url":"https://api.github.com/users/metamaps/gists{/gist_id}","starred_url":"https://api.github.com/users/metamaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metamaps/subscriptions","organizations_url":"https://api.github.com/users/metamaps/orgs","repos_url":"https://api.github.com/users/metamaps/repos","events_url":"https://api.github.com/users/metamaps/events{/privacy}","received_events_url":"https://api.github.com/users/metamaps/received_events","type":"Organization","site_admin":false},"repo":{"id":6326227,"name":"metamaps","full_name":"metamaps/metamaps","owner":{"login":"metamaps","id":8736555,"avatar_url":"https://avatars.githubusercontent.com/u/8736555?v=3","gravatar_id":"","url":"https://api.github.com/users/metamaps","html_url":"https://github.com/metamaps","followers_url":"https://api.github.com/users/metamaps/followers","following_url":"https://api.github.com/users/metamaps/following{/other_user}","gists_url":"https://api.github.com/users/metamaps/gists{/gist_id}","starred_url":"https://api.github.com/users/metamaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metamaps/subscriptions","organizations_url":"https://api.github.com/users/metamaps/orgs","repos_url":"https://api.github.com/users/metamaps/repos","events_url":"https://api.github.com/users/metamaps/events{/privacy}","received_events_url":"https://api.github.com/users/metamaps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metamaps/metamaps","description":"A deployable web platform for collaborative conversation, ideation & sense-making. Use it for free at","fork":false,"url":"https://api.github.com/repos/metamaps/metamaps","forks_url":"https://api.github.com/repos/metamaps/metamaps/forks","keys_url":"https://api.github.com/repos/metamaps/metamaps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metamaps/metamaps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metamaps/metamaps/teams","hooks_url":"https://api.github.com/repos/metamaps/metamaps/hooks","issue_events_url":"https://api.github.com/repos/metamaps/metamaps/issues/events{/number}","events_url":"https://api.github.com/repos/metamaps/metamaps/events","assignees_url":"https://api.github.com/repos/metamaps/metamaps/assignees{/user}","branches_url":"https://api.github.com/repos/metamaps/metamaps/branches{/branch}","tags_url":"https://api.github.com/repos/metamaps/metamaps/tags","blobs_url":"https://api.github.com/repos/metamaps/metamaps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metamaps/metamaps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metamaps/metamaps/git/refs{/sha}","trees_url":"https://api.github.com/repos/metamaps/metamaps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metamaps/metamaps/statuses/{sha}","languages_url":"https://api.github.com/repos/metamaps/metamaps/languages","stargazers_url":"https://api.github.com/repos/metamaps/metamaps/stargazers","contributors_url":"https://api.github.com/repos/metamaps/metamaps/contributors","subscribers_url":"https://api.github.com/repos/metamaps/metamaps/subscribers","subscription_url":"https://api.github.com/repos/metamaps/metamaps/subscription","commits_url":"https://api.github.com/repos/metamaps/metamaps/commits{/sha}","git_commits_url":"https://api.github.com/repos/metamaps/metamaps/git/commits{/sha}","comments_url":"https://api.github.com/repos/metamaps/metamaps/comments{/number}","issue_comment_url":"https://api.github.com/repos/metamaps/metamaps/issues/comments{/number}","contents_url":"https://api.github.com/repos/metamaps/metamaps/contents/{+path}","compare_url":"https://api.github.com/repos/metamaps/metamaps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metamaps/metamaps/merges","archive_url":"https://api.github.com/repos/metamaps/metamaps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metamaps/metamaps/downloads","issues_url":"https://api.github.com/repos/metamaps/metamaps/issues{/number}","pulls_url":"https://api.github.com/repos/metamaps/metamaps/pulls{/number}","milestones_url":"https://api.github.com/repos/metamaps/metamaps/milestones{/number}","notifications_url":"https://api.github.com/repos/metamaps/metamaps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metamaps/metamaps/labels{/name}","releases_url":"https://api.github.com/repos/metamaps/metamaps/releases{/id}","deployments_url":"https://api.github.com/repos/metamaps/metamaps/deployments","created_at":"2012-10-21T22:09:54Z","updated_at":"2017-01-17T19:04:52Z","pushed_at":"2017-02-09T15:45:58Z","git_url":"git://github.com/metamaps/metamaps.git","ssh_url":"git@github.com:metamaps/metamaps.git","clone_url":"https://github.com/metamaps/metamaps.git","svn_url":"https://github.com/metamaps/metamaps","homepage":"https://metamaps.cc","size":53952,"stargazers_count":59,"watchers_count":59,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":167,"forks":10,"open_issues":167,"watchers":59,"default_branch":"develop"}},"base":{"label":"metamaps:develop","ref":"develop","sha":"3706cd83e7266a91e8c6a7bb735492f06e3568f8","user":{"login":"metamaps","id":8736555,"avatar_url":"https://avatars.githubusercontent.com/u/8736555?v=3","gravatar_id":"","url":"https://api.github.com/users/metamaps","html_url":"https://github.com/metamaps","followers_url":"https://api.github.com/users/metamaps/followers","following_url":"https://api.github.com/users/metamaps/following{/other_user}","gists_url":"https://api.github.com/users/metamaps/gists{/gist_id}","starred_url":"https://api.github.com/users/metamaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metamaps/subscriptions","organizations_url":"https://api.github.com/users/metamaps/orgs","repos_url":"https://api.github.com/users/metamaps/repos","events_url":"https://api.github.com/users/metamaps/events{/privacy}","received_events_url":"https://api.github.com/users/metamaps/received_events","type":"Organization","site_admin":false},"repo":{"id":6326227,"name":"metamaps","full_name":"metamaps/metamaps","owner":{"login":"metamaps","id":8736555,"avatar_url":"https://avatars.githubusercontent.com/u/8736555?v=3","gravatar_id":"","url":"https://api.github.com/users/metamaps","html_url":"https://github.com/metamaps","followers_url":"https://api.github.com/users/metamaps/followers","following_url":"https://api.github.com/users/metamaps/following{/other_user}","gists_url":"https://api.github.com/users/metamaps/gists{/gist_id}","starred_url":"https://api.github.com/users/metamaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metamaps/subscriptions","organizations_url":"https://api.github.com/users/metamaps/orgs","repos_url":"https://api.github.com/users/metamaps/repos","events_url":"https://api.github.com/users/metamaps/events{/privacy}","received_events_url":"https://api.github.com/users/metamaps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metamaps/metamaps","description":"A deployable web platform for collaborative conversation, ideation & sense-making. Use it for free at","fork":false,"url":"https://api.github.com/repos/metamaps/metamaps","forks_url":"https://api.github.com/repos/metamaps/metamaps/forks","keys_url":"https://api.github.com/repos/metamaps/metamaps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metamaps/metamaps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metamaps/metamaps/teams","hooks_url":"https://api.github.com/repos/metamaps/metamaps/hooks","issue_events_url":"https://api.github.com/repos/metamaps/metamaps/issues/events{/number}","events_url":"https://api.github.com/repos/metamaps/metamaps/events","assignees_url":"https://api.github.com/repos/metamaps/metamaps/assignees{/user}","branches_url":"https://api.github.com/repos/metamaps/metamaps/branches{/branch}","tags_url":"https://api.github.com/repos/metamaps/metamaps/tags","blobs_url":"https://api.github.com/repos/metamaps/metamaps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metamaps/metamaps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metamaps/metamaps/git/refs{/sha}","trees_url":"https://api.github.com/repos/metamaps/metamaps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metamaps/metamaps/statuses/{sha}","languages_url":"https://api.github.com/repos/metamaps/metamaps/languages","stargazers_url":"https://api.github.com/repos/metamaps/metamaps/stargazers","contributors_url":"https://api.github.com/repos/metamaps/metamaps/contributors","subscribers_url":"https://api.github.com/repos/metamaps/metamaps/subscribers","subscription_url":"https://api.github.com/repos/metamaps/metamaps/subscription","commits_url":"https://api.github.com/repos/metamaps/metamaps/commits{/sha}","git_commits_url":"https://api.github.com/repos/metamaps/metamaps/git/commits{/sha}","comments_url":"https://api.github.com/repos/metamaps/metamaps/comments{/number}","issue_comment_url":"https://api.github.com/repos/metamaps/metamaps/issues/comments{/number}","contents_url":"https://api.github.com/repos/metamaps/metamaps/contents/{+path}","compare_url":"https://api.github.com/repos/metamaps/metamaps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metamaps/metamaps/merges","archive_url":"https://api.github.com/repos/metamaps/metamaps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metamaps/metamaps/downloads","issues_url":"https://api.github.com/repos/metamaps/metamaps/issues{/number}","pulls_url":"https://api.github.com/repos/metamaps/metamaps/pulls{/number}","milestones_url":"https://api.github.com/repos/metamaps/metamaps/milestones{/number}","notifications_url":"https://api.github.com/repos/metamaps/metamaps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metamaps/metamaps/labels{/name}","releases_url":"https://api.github.com/repos/metamaps/metamaps/releases{/id}","deployments_url":"https://api.github.com/repos/metamaps/metamaps/deployments","created_at":"2012-10-21T22:09:54Z","updated_at":"2017-01-17T19:04:52Z","pushed_at":"2017-02-09T15:45:58Z","git_url":"git://github.com/metamaps/metamaps.git","ssh_url":"git@github.com:metamaps/metamaps.git","clone_url":"https://github.com/metamaps/metamaps.git","svn_url":"https://github.com/metamaps/metamaps","homepage":"https://metamaps.cc","size":53952,"stargazers_count":59,"watchers_count":59,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":167,"forks":10,"open_issues":167,"watchers":59,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/metamaps/metamaps/pulls/1063"},"html":{"href":"https://github.com/metamaps/metamaps/pull/1063"},"issue":{"href":"https://api.github.com/repos/metamaps/metamaps/issues/1063"},"comments":{"href":"https://api.github.com/repos/metamaps/metamaps/issues/1063/comments"},"review_comments":{"href":"https://api.github.com/repos/metamaps/metamaps/pulls/1063/comments"},"review_comment":{"href":"https://api.github.com/repos/metamaps/metamaps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metamaps/metamaps/pulls/1063/commits"},"statuses":{"href":"https://api.github.com/repos/metamaps/metamaps/statuses/fb444501f3997ccb602a8cdc66f98ec98ab2b2d2"}}}}
{"actor":{"display_login":"Connoropolous"}}