mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FIX: Preserve push subscription when DND is active on page load (#43243)
This commit is contained in:
@@ -86,7 +86,7 @@ class SubscribeUserNotificationsInit {
|
||||
this.router,
|
||||
this.appEvents
|
||||
);
|
||||
} else {
|
||||
} else if (!this.currentUser.isInDoNotDisturb()) {
|
||||
unsubscribePushNotifications(this.currentUser);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user