fix: align googlechat reaction handling and docs typo
This commit is contained in:
parent
9a33c15743
commit
3c00f9b73b
@ -85,7 +85,7 @@ If you already use `gog` for Google Workspace, you can reuse its OAuth client +
|
|||||||
channels: {
|
channels: {
|
||||||
"googlechat": {
|
"googlechat": {
|
||||||
actions: { reactions: true },
|
actions: { reactions: true },
|
||||||
typingIndicator: "message",
|
typingIndicator: "reaction",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,7 @@ export function readJsonFile(filePath: string): unknown | null {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
// Log meaningful errors (permission issues, malformed JSON) for debugging
|
// Log meaningful errors (permission issues, malformed JSON) for debugging
|
||||||
if (err instanceof Error && err.message && !err.message.includes("ENOENT")) {
|
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;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -189,6 +189,7 @@ export function readGogRefreshTokenSync(params: {
|
|||||||
"auth",
|
"auth",
|
||||||
"tokens",
|
"tokens",
|
||||||
"export",
|
"export",
|
||||||
|
"--",
|
||||||
account,
|
account,
|
||||||
"--out",
|
"--out",
|
||||||
outPath,
|
outPath,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user