payload: {"action":"created","issue":{"url":"https://api.github.com/repos/Plume-org/Plume/issues/499","repository_url":"https://api.github.com/repos/Plume-org/Plume","labels_url":"https://api.github.com/repos/Plume-org/Plume/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/Plume-org/Plume/issues/499/comments","events_url":"https://api.github.com/repos/Plume-org/Plume/issues/499/events","html_url":"https://github.com/Plume-org/Plume/pull/499","id":424510456,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYzODM4ODky","number":499,"title":"[WIP] Delete notifications when deleting comments","user":{"login":"vbrandl","id":20639051,"node_id":"MDQ6VXNlcjIwNjM5MDUx","avatar_url":"https://avatars1.githubusercontent.com/u/20639051?v=4","gravatar_id":"","url":"https://api.github.com/users/vbrandl","html_url":"https://github.com/vbrandl","followers_url":"https://api.github.com/users/vbrandl/followers","following_url":"https://api.github.com/users/vbrandl/following{/other_user}","gists_url":"https://api.github.com/users/vbrandl/gists{/gist_id}","starred_url":"https://api.github.com/users/vbrandl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbrandl/subscriptions","organizations_url":"https://api.github.com/users/vbrandl/orgs","repos_url":"https://api.github.com/users/vbrandl/repos","events_url":"https://api.github.com/users/vbrandl/events{/privacy}","received_events_url":"https://api.github.com/users/vbrandl/received_events","type":"User","site_admin":false},"labels":[{"id":996694866,"node_id":"MDU6TGFiZWw5OTY2OTQ4NjY=","url":"https://api.github.com/repos/Plume-org/Plume/labels/A:%20Backend","name":"A: Backend","color":"1d76db","default":false},{"id":909397038,"node_id":"MDU6TGFiZWw5MDkzOTcwMzg=","url":"https://api.github.com/repos/Plume-org/Plume/labels/C:%20Enhancement","name":"C: Enhancement","color":"a2eeef","default":false},{"id":919676360,"node_id":"MDU6TGFiZWw5MTk2NzYzNjA=","url":"https://api.github.com/repos/Plume-org/Plume/labels/S:%20Incomplete","name":"S: Incomplete","color":"5291ea","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-03-23T15:11:50Z","updated_at":"2019-03-25T20:33:12Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Plume-org/Plume/pulls/499","html_url":"https://github.com/Plume-org/Plume/pull/499","diff_url":"https://github.com/Plume-org/Plume/pull/499.diff","patch_url":"https://github.com/Plume-org/Plume/pull/499.patch"},"body":"This PR implements a new function `find_for_comment` on `Notification` to list all notifications for a specific comment. The `delete` function on `Comment` is changed to list and delete all connected notifications.\r\n\r\nI wasn't able to test the changes yet since I don't have the test environment set up, so the PR is `WIP` for now.\r\n\r\nThis should close #463."},"comment":{"url":"https://api.github.com/repos/Plume-org/Plume/issues/comments/476365909","html_url":"https://github.com/Plume-org/Plume/pull/499#issuecomment-476365909","issue_url":"https://api.github.com/repos/Plume-org/Plume/issues/499","id":476365909,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NjM2NTkwOQ==","user":{"login":"vbrandl","id":20639051,"node_id":"MDQ6VXNlcjIwNjM5MDUx","avatar_url":"https://avatars1.githubusercontent.com/u/20639051?v=4","gravatar_id":"","url":"https://api.github.com/users/vbrandl","html_url":"https://github.com/vbrandl","followers_url":"https://api.github.com/users/vbrandl/followers","following_url":"https://api.github.com/users/vbrandl/following{/other_user}","gists_url":"https://api.github.com/users/vbrandl/gists{/gist_id}","starred_url":"https://api.github.com/users/vbrandl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbrandl/subscriptions","organizations_url":"https://api.github.com/users/vbrandl/orgs","repos_url":"https://api.github.com/users/vbrandl/repos","events_url":"https://api.github.com/users/vbrandl/events{/privacy}","received_events_url":"https://api.github.com/users/vbrandl/received_events","type":"User","site_admin":false},"created_at":"2019-03-25T20:33:12Z","updated_at":"2019-03-25T20:33:12Z","author_association":"NONE","body":"The following changes have been made:\r\n* Mentions inside comments are now properly inserted into the database (`comment_id` is set, instead of `post_id`)\r\n* Notifications for mentions are deleted, when the comment gets deleted\r\n* Notifications for comments enabled\r\n\r\nThe following use cases were tested:\r\n* Comment on a post, check for notification and delete comment again -> notification gets deleted too\r\n* Mention one or multiple user(s) in a comment, check notifications for all users and delete comment again -> notifications for all users are deleted"}}
other: {"actor":{"display_login":"vbrandl"}}