From be304ea97585de71f2217029cc72487b3ec98c13 Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Mon, 24 Sep 2018 17:32:30 -0700 Subject: [PATCH] Small bugfixes again --- scripts/modules/appUi.js | 2 +- scripts/system/tablet-goto.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/modules/appUi.js b/scripts/modules/appUi.js index db395ea778..12ba115815 100644 --- a/scripts/modules/appUi.js +++ b/scripts/modules/appUi.js @@ -170,7 +170,7 @@ function AppUi(properties) { var currentTimestamp = new Date().getTime(); var lastPollTimestamp = Settings.getValue(settingsKey, currentTimestamp); if (that.notificationPollCaresAboutSince) { - url = url + "&since=" + lastPollTimestamp; + url = url + "&since=" + lastPollTimestamp/1000; } Settings.setValue(settingsKey, currentTimestamp); diff --git a/scripts/system/tablet-goto.js b/scripts/system/tablet-goto.js index 0f032ae74d..902e1b7fef 100644 --- a/scripts/system/tablet-goto.js +++ b/scripts/system/tablet-goto.js @@ -18,7 +18,8 @@ var AppUi = Script.require('appUi'); function gotoOpened() { - ui.messagesWaiting(false); + shouldShowDot = false; + ui.messagesWaiting(shouldShowDot); } function notificationDataProcessPage(data) {