{"action":"created","comment":{"url":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/comments/28059556","id":28059556,"diff_hunk":"@@ -166,7 +166,8 @@ class RejectModerationView(ModerationView):\n \n     def get(self, *args, **kwargs):\n         get = super(RejectModerationView, self).get(*args, **kwargs)\n-        self.get_object().message.delete()\n+        self.object.message.public = False","path":"nuntium/views.py","position":5,"original_position":5,"commit_id":"cdf6ec79c65467f58a337b82154b4249911f1f3c","original_commit_id":"cdf6ec79c65467f58a337b82154b4249911f1f3c","user":{"login":"lfalvarez","id":585757,"avatar_url":"https://avatars.githubusercontent.com/u/585757?v=3","gravatar_id":"","url":"https://api.github.com/users/lfalvarez","html_url":"https://github.com/lfalvarez","followers_url":"https://api.github.com/users/lfalvarez/followers","following_url":"https://api.github.com/users/lfalvarez/following{/other_user}","gists_url":"https://api.github.com/users/lfalvarez/gists{/gist_id}","starred_url":"https://api.github.com/users/lfalvarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfalvarez/subscriptions","organizations_url":"https://api.github.com/users/lfalvarez/orgs","repos_url":"https://api.github.com/users/lfalvarez/repos","events_url":"https://api.github.com/users/lfalvarez/events{/privacy}","received_events_url":"https://api.github.com/users/lfalvarez/received_events","type":"User","site_admin":false},"body":"Wow! thanks I didn't see that one coming!","created_at":"2015-04-09T13:11:28Z","updated_at":"2015-04-09T13:11:28Z","html_url":"https://github.com/ciudadanointeligente/write-it/pull/797#discussion_r28059556","pull_request_url":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/797","_links":{"self":{"href":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/comments/28059556"},"html":{"href":"https://github.com/ciudadanointeligente/write-it/pull/797#discussion_r28059556"},"pull_request":{"href":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/797"}}},"pull_request":{"url":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/797","id":32869392,"html_url":"https://github.com/ciudadanointeligente/write-it/pull/797","diff_url":"https://github.com/ciudadanointeligente/write-it/pull/797.diff","patch_url":"https://github.com/ciudadanointeligente/write-it/pull/797.patch","issue_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/797","number":797,"state":"open","locked":false,"title":"Hide a message rather than deleting it when moderation has been rejected","user":{"login":"lfalvarez","id":585757,"avatar_url":"https://avatars.githubusercontent.com/u/585757?v=3","gravatar_id":"","url":"https://api.github.com/users/lfalvarez","html_url":"https://github.com/lfalvarez","followers_url":"https://api.github.com/users/lfalvarez/followers","following_url":"https://api.github.com/users/lfalvarez/following{/other_user}","gists_url":"https://api.github.com/users/lfalvarez/gists{/gist_id}","starred_url":"https://api.github.com/users/lfalvarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfalvarez/subscriptions","organizations_url":"https://api.github.com/users/lfalvarez/orgs","repos_url":"https://api.github.com/users/lfalvarez/repos","events_url":"https://api.github.com/users/lfalvarez/events{/privacy}","received_events_url":"https://api.github.com/users/lfalvarez/received_events","type":"User","site_admin":false},"body":"Closes #593\r\n\r\n<!---\r\n@huboard:{\"order\":0.6258087158203125,\"milestone_order\":797,\"custom_state\":\"\"}\n-->\r\n","created_at":"2015-04-08T15:06:43Z","updated_at":"2015-04-09T13:11:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76a5bdd0a1d540876b2b4e6e5ff14ceb524c47fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/797/commits","review_comments_url":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/797/comments","review_comment_url":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/797/comments","statuses_url":"https://api.github.com/repos/ciudadanointeligente/write-it/statuses/cdf6ec79c65467f58a337b82154b4249911f1f3c","head":{"label":"ciudadanointeligente:issues/593-rejecting-a-message-should-not-delete-it","ref":"issues/593-rejecting-a-message-should-not-delete-it","sha":"cdf6ec79c65467f58a337b82154b4249911f1f3c","user":{"login":"ciudadanointeligente","id":631035,"avatar_url":"https://avatars.githubusercontent.com/u/631035?v=3","gravatar_id":"","url":"https://api.github.com/users/ciudadanointeligente","html_url":"https://github.com/ciudadanointeligente","followers_url":"https://api.github.com/users/ciudadanointeligente/followers","following_url":"https://api.github.com/users/ciudadanointeligente/following{/other_user}","gists_url":"https://api.github.com/users/ciudadanointeligente/gists{/gist_id}","starred_url":"https://api.github.com/users/ciudadanointeligente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciudadanointeligente/subscriptions","organizations_url":"https://api.github.com/users/ciudadanointeligente/orgs","repos_url":"https://api.github.com/users/ciudadanointeligente/repos","events_url":"https://api.github.com/users/ciudadanointeligente/events{/privacy}","received_events_url":"https://api.github.com/users/ciudadanointeligente/received_events","type":"Organization","site_admin":false},"repo":{"id":9037493,"name":"write-it","full_name":"ciudadanointeligente/write-it","owner":{"login":"ciudadanointeligente","id":631035,"avatar_url":"https://avatars.githubusercontent.com/u/631035?v=3","gravatar_id":"","url":"https://api.github.com/users/ciudadanointeligente","html_url":"https://github.com/ciudadanointeligente","followers_url":"https://api.github.com/users/ciudadanointeligente/followers","following_url":"https://api.github.com/users/ciudadanointeligente/following{/other_user}","gists_url":"https://api.github.com/users/ciudadanointeligente/gists{/gist_id}","starred_url":"https://api.github.com/users/ciudadanointeligente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciudadanointeligente/subscriptions","organizations_url":"https://api.github.com/users/ciudadanointeligente/orgs","repos_url":"https://api.github.com/users/ciudadanointeligente/repos","events_url":"https://api.github.com/users/ciudadanointeligente/events{/privacy}","received_events_url":"https://api.github.com/users/ciudadanointeligente/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ciudadanointeligente/write-it","description":"App to create and send messages to public persons. It's a component of POPLUS project.","fork":false,"url":"https://api.github.com/repos/ciudadanointeligente/write-it","forks_url":"https://api.github.com/repos/ciudadanointeligente/write-it/forks","keys_url":"https://api.github.com/repos/ciudadanointeligente/write-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ciudadanointeligente/write-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ciudadanointeligente/write-it/teams","hooks_url":"https://api.github.com/repos/ciudadanointeligente/write-it/hooks","issue_events_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/events{/number}","events_url":"https://api.github.com/repos/ciudadanointeligente/write-it/events","assignees_url":"https://api.github.com/repos/ciudadanointeligente/write-it/assignees{/user}","branches_url":"https://api.github.com/repos/ciudadanointeligente/write-it/branches{/branch}","tags_url":"https://api.github.com/repos/ciudadanointeligente/write-it/tags","blobs_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ciudadanointeligente/write-it/statuses/{sha}","languages_url":"https://api.github.com/repos/ciudadanointeligente/write-it/languages","stargazers_url":"https://api.github.com/repos/ciudadanointeligente/write-it/stargazers","contributors_url":"https://api.github.com/repos/ciudadanointeligente/write-it/contributors","subscribers_url":"https://api.github.com/repos/ciudadanointeligente/write-it/subscribers","subscription_url":"https://api.github.com/repos/ciudadanointeligente/write-it/subscription","commits_url":"https://api.github.com/repos/ciudadanointeligente/write-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/ciudadanointeligente/write-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/ciudadanointeligente/write-it/contents/{+path}","compare_url":"https://api.github.com/repos/ciudadanointeligente/write-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ciudadanointeligente/write-it/merges","archive_url":"https://api.github.com/repos/ciudadanointeligente/write-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ciudadanointeligente/write-it/downloads","issues_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues{/number}","pulls_url":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls{/number}","milestones_url":"https://api.github.com/repos/ciudadanointeligente/write-it/milestones{/number}","notifications_url":"https://api.github.com/repos/ciudadanointeligente/write-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ciudadanointeligente/write-it/labels{/name}","releases_url":"https://api.github.com/repos/ciudadanointeligente/write-it/releases{/id}","created_at":"2013-03-26T18:38:59Z","updated_at":"2015-04-09T12:49:26Z","pushed_at":"2015-04-09T12:54:17Z","git_url":"git://github.com/ciudadanointeligente/write-it.git","ssh_url":"git@github.com:ciudadanointeligente/write-it.git","clone_url":"https://github.com/ciudadanointeligente/write-it.git","svn_url":"https://github.com/ciudadanointeligente/write-it","homepage":"poplus.org","size":11443,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":141,"forks":6,"open_issues":141,"watchers":19,"default_branch":"master"}},"base":{"label":"ciudadanointeligente:master","ref":"master","sha":"6af060eb7cf9cea9764a45c35f60317fefb68b18","user":{"login":"ciudadanointeligente","id":631035,"avatar_url":"https://avatars.githubusercontent.com/u/631035?v=3","gravatar_id":"","url":"https://api.github.com/users/ciudadanointeligente","html_url":"https://github.com/ciudadanointeligente","followers_url":"https://api.github.com/users/ciudadanointeligente/followers","following_url":"https://api.github.com/users/ciudadanointeligente/following{/other_user}","gists_url":"https://api.github.com/users/ciudadanointeligente/gists{/gist_id}","starred_url":"https://api.github.com/users/ciudadanointeligente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciudadanointeligente/subscriptions","organizations_url":"https://api.github.com/users/ciudadanointeligente/orgs","repos_url":"https://api.github.com/users/ciudadanointeligente/repos","events_url":"https://api.github.com/users/ciudadanointeligente/events{/privacy}","received_events_url":"https://api.github.com/users/ciudadanointeligente/received_events","type":"Organization","site_admin":false},"repo":{"id":9037493,"name":"write-it","full_name":"ciudadanointeligente/write-it","owner":{"login":"ciudadanointeligente","id":631035,"avatar_url":"https://avatars.githubusercontent.com/u/631035?v=3","gravatar_id":"","url":"https://api.github.com/users/ciudadanointeligente","html_url":"https://github.com/ciudadanointeligente","followers_url":"https://api.github.com/users/ciudadanointeligente/followers","following_url":"https://api.github.com/users/ciudadanointeligente/following{/other_user}","gists_url":"https://api.github.com/users/ciudadanointeligente/gists{/gist_id}","starred_url":"https://api.github.com/users/ciudadanointeligente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciudadanointeligente/subscriptions","organizations_url":"https://api.github.com/users/ciudadanointeligente/orgs","repos_url":"https://api.github.com/users/ciudadanointeligente/repos","events_url":"https://api.github.com/users/ciudadanointeligente/events{/privacy}","received_events_url":"https://api.github.com/users/ciudadanointeligente/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ciudadanointeligente/write-it","description":"App to create and send messages to public persons. It's a component of POPLUS project.","fork":false,"url":"https://api.github.com/repos/ciudadanointeligente/write-it","forks_url":"https://api.github.com/repos/ciudadanointeligente/write-it/forks","keys_url":"https://api.github.com/repos/ciudadanointeligente/write-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ciudadanointeligente/write-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ciudadanointeligente/write-it/teams","hooks_url":"https://api.github.com/repos/ciudadanointeligente/write-it/hooks","issue_events_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/events{/number}","events_url":"https://api.github.com/repos/ciudadanointeligente/write-it/events","assignees_url":"https://api.github.com/repos/ciudadanointeligente/write-it/assignees{/user}","branches_url":"https://api.github.com/repos/ciudadanointeligente/write-it/branches{/branch}","tags_url":"https://api.github.com/repos/ciudadanointeligente/write-it/tags","blobs_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ciudadanointeligente/write-it/statuses/{sha}","languages_url":"https://api.github.com/repos/ciudadanointeligente/write-it/languages","stargazers_url":"https://api.github.com/repos/ciudadanointeligente/write-it/stargazers","contributors_url":"https://api.github.com/repos/ciudadanointeligente/write-it/contributors","subscribers_url":"https://api.github.com/repos/ciudadanointeligente/write-it/subscribers","subscription_url":"https://api.github.com/repos/ciudadanointeligente/write-it/subscription","commits_url":"https://api.github.com/repos/ciudadanointeligente/write-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/ciudadanointeligente/write-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/ciudadanointeligente/write-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/ciudadanointeligente/write-it/contents/{+path}","compare_url":"https://api.github.com/repos/ciudadanointeligente/write-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ciudadanointeligente/write-it/merges","archive_url":"https://api.github.com/repos/ciudadanointeligente/write-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ciudadanointeligente/write-it/downloads","issues_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues{/number}","pulls_url":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls{/number}","milestones_url":"https://api.github.com/repos/ciudadanointeligente/write-it/milestones{/number}","notifications_url":"https://api.github.com/repos/ciudadanointeligente/write-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ciudadanointeligente/write-it/labels{/name}","releases_url":"https://api.github.com/repos/ciudadanointeligente/write-it/releases{/id}","created_at":"2013-03-26T18:38:59Z","updated_at":"2015-04-09T12:49:26Z","pushed_at":"2015-04-09T12:54:17Z","git_url":"git://github.com/ciudadanointeligente/write-it.git","ssh_url":"git@github.com:ciudadanointeligente/write-it.git","clone_url":"https://github.com/ciudadanointeligente/write-it.git","svn_url":"https://github.com/ciudadanointeligente/write-it","homepage":"poplus.org","size":11443,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":141,"forks":6,"open_issues":141,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/797"},"html":{"href":"https://github.com/ciudadanointeligente/write-it/pull/797"},"issue":{"href":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/797"},"comments":{"href":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/797/comments"},"review_comments":{"href":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/797/comments"},"review_comment":{"href":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/797/commits"},"statuses":{"href":"https://api.github.com/repos/ciudadanointeligente/write-it/statuses/cdf6ec79c65467f58a337b82154b4249911f1f3c"}}}}