mirror of
https://github.com/discourse/discourse.git
synced 2025-04-13 23:20:59 +08:00

Calling create_notification_alert could still send a notification to a suspended user. This just moves the check if user is suspended right before sending the notification.