[Eliminate Blocking] Real Browser Monitor + Check Apprise (#5924)

This commit is contained in:
Louis Lam
2025-10-28 00:27:29 +08:00
committed by GitHub
parent 8f3cb770eb
commit afbd1ce0e9
4 changed files with 30 additions and 15 deletions
+1 -1
View File
@@ -1503,7 +1503,7 @@ let needSetup = false;
socket.on("checkApprise", async (callback) => {
try {
checkLogin(socket);
callback(Notification.checkApprise());
callback(await Notification.checkApprise());
} catch (e) {
callback(false);
}