fix: align googlechat reaction handling and docs typo

This commit is contained in:
iHildy 2026-01-26 20:28:26 -06:00
parent 9a33c15743
commit 3c00f9b73b
3 changed files with 3 additions and 2 deletions

View File

@ -85,7 +85,7 @@ If you already use `gog` for Google Workspace, you can reuse its OAuth client +
channels: {
"googlechat": {
actions: { reactions: true },
typingIndicator: "message",
typingIndicator: "reaction",
}
}
}

View File

@ -12,7 +12,7 @@ export function readJsonFile(filePath: string): unknown | null {
} catch (err) {
// Log meaningful errors (permission issues, malformed JSON) for debugging
if (err instanceof Error && err.message && !err.message.includes("ENOENT")) {
console.error(`Failed to read or parse JSON file ${filePath}: ${err.message}`);
console.error(`Failed to read or parse JSON file ${filePath}`);
}
return null;
}

View File

@ -189,6 +189,7 @@ export function readGogRefreshTokenSync(params: {
"auth",
"tokens",
"export",
"--",
account,
"--out",
outPath,