mirror of
https://github.com/flarum/core.git
synced 2025-07-23 09:41:26 +02:00
Fix notifications
This commit is contained in:
@@ -38,7 +38,7 @@ class NotificationType implements ExtenderInterface
|
||||
$class = $this->class;
|
||||
$type = $class::getType();
|
||||
|
||||
Notification::setSubjectModel($type, $class);
|
||||
Notification::setSubjectModel($type, $class::getSubjectModel());
|
||||
|
||||
User::addPreference(User::getNotificationPreferenceKey($type, 'alert'), 'boolval', in_array('alert', $this->enabled));
|
||||
|
||||
|
Reference in New Issue
Block a user