Observation: Discussion Creators Don't Receive Reply Notifications by Default
flarum/subscriptions v1.8.x
What I observed :
A user who starts a discussion receives no notification when someone replies, unless they have manually clicked "Follow" first.
// vendor/flarum/subscriptions/src/Job/SendReplyNotification.php
$followers = $discussion->readers()
->select('users.id', 'users.preferences', 'discussion_user.last_read_post_number')
->where('users.id', '!=', $post->user_id)
->where('discussion_user.subscription', 'follow');
A discussion creator's subscription state in discussion_user is NULL until they explicitly choose a subscription option. so they're excluded from notifications, if other users reply by simplying typing in the composer(not by clicking "reply")
Question: Is this intentional?
I created a froked subscription extension that auto sub the OP so that he always gets notified. Am I doing it properly or is there other recommended way?
Thank you for your help.