From 9db89baa975ba354059a0b54955af2f595a91a99 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 24 Nov 2018 10:46:21 +0100 Subject: [PATCH] Update StalkerNotifications.plugin.js --- Plugins/StalkerNotifications/StalkerNotifications.plugin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/StalkerNotifications/StalkerNotifications.plugin.js b/Plugins/StalkerNotifications/StalkerNotifications.plugin.js index 34d390db70..319a2953d7 100644 --- a/Plugins/StalkerNotifications/StalkerNotifications.plugin.js +++ b/Plugins/StalkerNotifications/StalkerNotifications.plugin.js @@ -129,7 +129,7 @@ class StalkerNotifications { getDescription () {return "Lets you observe the status of people that aren't your friends.";} - getVersion () {return "1.0.8";} + getVersion () {return "1.0.9";} getAuthor () {return "DevilBro";} @@ -373,7 +373,7 @@ class StalkerNotifications { for (let id in users) { let online = this.UserMetaStore.getStatus(id) != "offline"; let user = this.UserUtils.getUser(id); - if (user && this.friendsOnlineList[id] != online && !BDFDB.loadData(id, this, "disabled")) { + if (user && this.stalkerOnlineList[id] != online && !BDFDB.loadData(id, this, "disabled")) { this.timeLog.push({user, online, time: new Date()}); if (!(settings.onlyOnOnline && !online) && !(settings.muteOnDND && BDFDB.getUserStatus() == "dnd")) { let data = BDFDB.loadData(user.id, "EditUsers", "users") || {}; @@ -423,4 +423,4 @@ class StalkerNotifications { timeLogModal.find(BDFDB.dotCN.modaldivider + ":last-of-type").remove(); BDFDB.appendModal(timeLogModal); } -} \ No newline at end of file +}