{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/9573","repository_url":"https://api.github.com/repos/Elgg/Elgg","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/9573/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/9573/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/9573/events","html_url":"https://github.com/Elgg/Elgg/issues/9573","id":143736648,"number":9573,"title":"ElggComment::canComment() should be hookable","user":{"login":"hypeJunction","id":1202761,"avatar_url":"https://avatars.githubusercontent.com/u/1202761?v=3","gravatar_id":"","url":"https://api.github.com/users/hypeJunction","html_url":"https://github.com/hypeJunction","followers_url":"https://api.github.com/users/hypeJunction/followers","following_url":"https://api.github.com/users/hypeJunction/following{/other_user}","gists_url":"https://api.github.com/users/hypeJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/hypeJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypeJunction/subscriptions","organizations_url":"https://api.github.com/users/hypeJunction/orgs","repos_url":"https://api.github.com/users/hypeJunction/repos","events_url":"https://api.github.com/users/hypeJunction/events{/privacy}","received_events_url":"https://api.github.com/users/hypeJunction/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-26T18:03:58Z","updated_at":"2016-03-28T08:59:05Z","closed_at":null,"body":"`ElggComment::canComment()` and subsequently `ElggDiscussionReply::canComment` return `false` without trigger a hook. IMO should still trigger a hook with default `false`. I have implemented threaded discussion using comments on discussion replies, and this was one of the reasons I had to overwrite the class entirely."},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/202310785","html_url":"https://github.com/Elgg/Elgg/issues/9573#issuecomment-202310785","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/9573","id":202310785,"user":{"login":"beck24","id":738363,"avatar_url":"https://avatars.githubusercontent.com/u/738363?v=3","gravatar_id":"","url":"https://api.github.com/users/beck24","html_url":"https://github.com/beck24","followers_url":"https://api.github.com/users/beck24/followers","following_url":"https://api.github.com/users/beck24/following{/other_user}","gists_url":"https://api.github.com/users/beck24/gists{/gist_id}","starred_url":"https://api.github.com/users/beck24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beck24/subscriptions","organizations_url":"https://api.github.com/users/beck24/orgs","repos_url":"https://api.github.com/users/beck24/repos","events_url":"https://api.github.com/users/beck24/events{/privacy}","received_events_url":"https://api.github.com/users/beck24/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T08:59:05Z","updated_at":"2016-03-28T08:59:05Z","body":"I think it should be left for plugins to determine anyway.  Too many different ways of doing things, wouldn't want to pigeon-hole us into a FB single reply thread vs Reddit style infinite-child-replies behaviour or something in between.  Available hooks keep it open for all possibilities depending on context, leave it simple and extendable."}}