small tweaks and another test release
This commit is contained in:
parent
3985d86486
commit
ef29cf88e1
|
@ -5,7 +5,7 @@ const createHttpLink = require('apollo-link-http').createHttpLink;
|
||||||
const gql = require('graphql-tag')
|
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
|
// 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
|
const DEBUG = false
|
||||||
let lastMessageFromSerialPortTime
|
let lastMessageFromSerialPortTime
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -202,6 +202,8 @@ void EventLoop(struct nk_context *ctx)
|
||||||
// new chat lookups
|
// new chat lookups
|
||||||
if (TickCount() - lastUpdatedTickCountMessagesInChat > 300) {
|
if (TickCount() - lastUpdatedTickCountMessagesInChat > 300) {
|
||||||
|
|
||||||
|
lastUpdatedTickCountMessagesInChat = TickCount();
|
||||||
|
|
||||||
if (strcmp(activeChat, "no active chat")) {
|
if (strcmp(activeChat, "no active chat")) {
|
||||||
|
|
||||||
// writeSerialPortDebug(boutRefNum, "check chat");
|
// writeSerialPortDebug(boutRefNum, "check chat");
|
||||||
|
|
Loading…
Reference in New Issue