♻️ Better notification system

This commit is contained in:
2024-06-07 20:05:56 +08:00
parent b925d54000
commit 332557778d
9 changed files with 120 additions and 106 deletions

View File

@ -67,7 +67,7 @@ func PushNotification(notification models.Notification) error {
}
// Skip push notification when frontend notify is available
if frontendAvailable {
if frontendAvailable && !notification.IsForcePush {
return nil
}