From 45a70aa56edadfa41f838093f794b8f57a0f0658 Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Thu, 20 Feb 2020 15:45:20 +0000 Subject: [PATCH] Iterate in the right direction --- src/UserNotificationWatcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UserNotificationWatcher.ts b/src/UserNotificationWatcher.ts index d0b7e815..c4e6aa10 100644 --- a/src/UserNotificationWatcher.ts +++ b/src/UserNotificationWatcher.ts @@ -112,7 +112,7 @@ export class UserNotificationWatcher { } catch (ex) { log.error("An error occured getting notifications:", ex); } - this.userQueue.push(userId); + this.userQueue.unshift(userId); } }