mirror of
https://github.com/openvk/openvk
synced 2024-11-14 02:59:12 +03:00
Shut up notification listener on false triggers (#760)
За-йо-бал трещать ложными уведомлениями. Использует подкостыль из (https://github.com/openvk/openvk/issues/694#issuecomment-1229165601)[комментария].
This commit is contained in:
parent
6b2a6ae8cd
commit
d2b2e41328
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ async function setupNotificationListener() {
|
|||
} catch(rejection) {
|
||||
if(rejection.message !== "Nothing to report") {
|
||||
console.error(rejection);
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
console.info("No new notifications discovered... Redialing event broker");
|
||||
|
|
Loading…
Reference in a new issue