diff --git a/JS/index.js b/JS/index.js index eea5029..b36cfc6 100644 --- a/JS/index.js +++ b/JS/index.js @@ -5,7 +5,7 @@ const createHttpLink = require('apollo-link-http').createHttpLink; const gql = require('graphql-tag') // TEST_MODE can be turned on or off to prevent communications with the Apollo iMessage Server running on your modern Mac -const TEST_MODE = true +const TEST_MODE = false const DEBUG = false let lastMessageFromSerialPortTime diff --git a/dist/MessagesForMacintosh.dsk b/dist/MessagesForMacintosh.dsk index 182641d..54b8787 100644 Binary files a/dist/MessagesForMacintosh.dsk and b/dist/MessagesForMacintosh.dsk differ diff --git a/dist/MessagesForMacintosh.zip b/dist/MessagesForMacintosh.zip index 6867838..47f34f7 100644 Binary files a/dist/MessagesForMacintosh.zip and b/dist/MessagesForMacintosh.zip differ diff --git a/mac_main.c b/mac_main.c index 7467e72..dd86574 100644 --- a/mac_main.c +++ b/mac_main.c @@ -202,6 +202,8 @@ void EventLoop(struct nk_context *ctx) // new chat lookups if (TickCount() - lastUpdatedTickCountMessagesInChat > 300) { + lastUpdatedTickCountMessagesInChat = TickCount(); + if (strcmp(activeChat, "no active chat")) { // writeSerialPortDebug(boutRefNum, "check chat");