{"action":"created","issue":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/6640","repository_url":"https://api.github.com/repos/NodeBB/NodeBB","labels_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/6640/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/6640/comments","events_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/6640/events","html_url":"https://github.com/NodeBB/NodeBB/pull/6640","id":339508809,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMTQ0ODk4","number":6640,"title":"Add notification frequencies from nodebb-plugin-upvote-notifications.","user":{"login":"BenLubar","id":4257305,"node_id":"MDQ6VXNlcjQyNTczMDU=","avatar_url":"https://avatars3.githubusercontent.com/u/4257305?v=4","gravatar_id":"","url":"https://api.github.com/users/BenLubar","html_url":"https://github.com/BenLubar","followers_url":"https://api.github.com/users/BenLubar/followers","following_url":"https://api.github.com/users/BenLubar/following{/other_user}","gists_url":"https://api.github.com/users/BenLubar/gists{/gist_id}","starred_url":"https://api.github.com/users/BenLubar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenLubar/subscriptions","organizations_url":"https://api.github.com/users/BenLubar/orgs","repos_url":"https://api.github.com/users/BenLubar/repos","events_url":"https://api.github.com/users/BenLubar/events{/privacy}","received_events_url":"https://api.github.com/users/BenLubar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-09T15:54:12Z","updated_at":"2018-07-09T17:52:22Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/NodeBB/NodeBB/pulls/6640","html_url":"https://github.com/NodeBB/NodeBB/pull/6640","diff_url":"https://github.com/NodeBB/NodeBB/pull/6640.diff","patch_url":"https://github.com/NodeBB/NodeBB/pull/6640.patch"},"body":"https://github.com/boomzillawtf/nodebb-plugin-upvote-notifications"},"comment":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/comments/403564646","html_url":"https://github.com/NodeBB/NodeBB/pull/6640#issuecomment-403564646","issue_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/6640","id":403564646,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzU2NDY0Ng==","user":{"login":"pitaj","id":803701,"node_id":"MDQ6VXNlcjgwMzcwMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/803701?v=4","gravatar_id":"","url":"https://api.github.com/users/pitaj","html_url":"https://github.com/pitaj","followers_url":"https://api.github.com/users/pitaj/followers","following_url":"https://api.github.com/users/pitaj/following{/other_user}","gists_url":"https://api.github.com/users/pitaj/gists{/gist_id}","starred_url":"https://api.github.com/users/pitaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitaj/subscriptions","organizations_url":"https://api.github.com/users/pitaj/orgs","repos_url":"https://api.github.com/users/pitaj/repos","events_url":"https://api.github.com/users/pitaj/events{/privacy}","received_events_url":"https://api.github.com/users/pitaj/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T17:52:22Z","updated_at":"2018-07-09T17:52:22Z","author_association":"CONTRIBUTOR","body":"I think having both `logarithmic` and `threshold` is a little redundant. What if we made the behavior of logarithmic closer to what threshold does, by changing it like so:\r\n\r\n    return votes > 0 && (Math.log10(votes) % 1 === 0 || Math.log10(votes / 5) % 1 === 0);\r\n\r\nThat would result in 1, 5, 10, 50, 100, 500, etc, which is close to the threshold behavior."}}
{"actor":{"display_login":"pitaj"}}