HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Email notification on user comment
Hi,
The "Notify me when people comment on a discussion." option does not work.
In file applications/vanilla/models/class.commentmodel.php, line 785:$Data = $this->SQL->GetWhere('UserMeta', array('Name' => 'Preferences.Email.NewDiscussion'))->ResultArray();
must be changed by$Data = $this->SQL->GetWhere('UserMeta', array('Name' => 'Preferences.Email.NewComment'))->ResultArray();
With this change, option work, but notifications are sended twice. The line 818 should be removed because notification is sended just before on line 811.$ActivityModel->QueueNotification($ActivityID);
0
Comments
Line 802 and 803 have to be uncommented too...