{"action":"created","issue":{"url":"https://api.github.com/repos/hapramp/notifications/issues/1","repository_url":"https://api.github.com/repos/hapramp/notifications","labels_url":"https://api.github.com/repos/hapramp/notifications/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/hapramp/notifications/issues/1/comments","events_url":"https://api.github.com/repos/hapramp/notifications/issues/1/events","html_url":"https://github.com/hapramp/notifications/issues/1","id":331491040,"node_id":"MDU6SXNzdWUzMzE0OTEwNDA=","number":1,"title":"Only store notifications of HapRamp posts","user":{"login":"aviaryan","id":4047597,"node_id":"MDQ6VXNlcjQwNDc1OTc=","avatar_url":"https://avatars3.githubusercontent.com/u/4047597?v=4","gravatar_id":"","url":"https://api.github.com/users/aviaryan","html_url":"https://github.com/aviaryan","followers_url":"https://api.github.com/users/aviaryan/followers","following_url":"https://api.github.com/users/aviaryan/following{/other_user}","gists_url":"https://api.github.com/users/aviaryan/gists{/gist_id}","starred_url":"https://api.github.com/users/aviaryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviaryan/subscriptions","organizations_url":"https://api.github.com/users/aviaryan/orgs","repos_url":"https://api.github.com/users/aviaryan/repos","events_url":"https://api.github.com/users/aviaryan/events{/privacy}","received_events_url":"https://api.github.com/users/aviaryan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-12T08:39:12Z","updated_at":"2018-06-13T07:44:14Z","closed_at":null,"author_association":"MEMBER","body":""},"comment":{"url":"https://api.github.com/repos/hapramp/notifications/issues/comments/396845687","html_url":"https://github.com/hapramp/notifications/issues/1#issuecomment-396845687","issue_url":"https://api.github.com/repos/hapramp/notifications/issues/1","id":396845687,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Njg0NTY4Nw==","user":{"login":"singhpratyush","id":10860278,"node_id":"MDQ6VXNlcjEwODYwMjc4","avatar_url":"https://avatars1.githubusercontent.com/u/10860278?v=4","gravatar_id":"","url":"https://api.github.com/users/singhpratyush","html_url":"https://github.com/singhpratyush","followers_url":"https://api.github.com/users/singhpratyush/followers","following_url":"https://api.github.com/users/singhpratyush/following{/other_user}","gists_url":"https://api.github.com/users/singhpratyush/gists{/gist_id}","starred_url":"https://api.github.com/users/singhpratyush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhpratyush/subscriptions","organizations_url":"https://api.github.com/users/singhpratyush/orgs","repos_url":"https://api.github.com/users/singhpratyush/repos","events_url":"https://api.github.com/users/singhpratyush/events{/privacy}","received_events_url":"https://api.github.com/users/singhpratyush/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T07:44:14Z","updated_at":"2018-06-13T07:44:14Z","author_association":"MEMBER","body":"Okay, I missed this issue.\r\n\r\nWhat we can do is find the app name for the root post for a comment. But this would slow things down by a lot.\r\n\r\nAnother solution can be adding all the permlinks of posts created on HapRamp to a redis and whenver a comment comes in, jstu check if it's root post exists. It would not be possible to have a comment without root post being read from the blockchain.\r\n"}}
{"actor":{"display_login":"singhpratyush"}}