Closed JDGrimes closed 8 years ago
In the new Hooks API (#321), we now award the post author in both the comment and comment received hooks. This is something that we could change if we want to though, by using a filter or a custom extension.
Something to keep in mind is that the affects retroactivity and reversals. If we reverse transactions for the post author when they didn't receive points... but then I guess we can't (and don't) reverse transactions that never occurred in the first place. So we are safe there. The only thing is that points will be awarded for new comments that weren't awarded for old ones, something that is made worse by retroactivity. But I guess retroactivity is really irrelevant here, since we are talking about hooks that already exist.
Anyway, it is a change in behavior, though it doesn't carry any huge issues with it like I thought it might.
I think that our behavior in the new API is correct, as in the future we'll likely make it possible to exclude the author on demand. As far as the existing API goes, since we're going to be deprecating these anyway, I guess that it doesn't make much since to change behavior midstream.
See https://github.com/WordPoints/wordpoints/issues/221#issuecomment-69514375.