Zusammenspiel: Reaktionen aus dem Mondsaal zählen im Rudel-Puls mit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -28,6 +28,8 @@
|
|||||||
===================================================================== */
|
===================================================================== */
|
||||||
import { db } from "./workspace.js";
|
import { db } from "./workspace.js";
|
||||||
import { stromAn } from "./workspace-chat.js";
|
import { stromAn } from "./workspace-chat.js";
|
||||||
|
/* Der Rudel-Puls zählt jede Reaktion mit (Zusammenführen 04.11.2026). */
|
||||||
|
import { pulsZaehlen } from "./workspace-puls.js";
|
||||||
|
|
||||||
/** Die Zeichen der Tafel. Fest und kurz: Was hier nicht steht, wird
|
/** Die Zeichen der Tafel. Fest und kurz: Was hier nicht steht, wird
|
||||||
* abgewiesen – ein freies Feld nähme Steuerzeichen und 4-KB-Ketten. */
|
* abgewiesen – ein freies Feld nähme Steuerzeichen und 4-KB-Ketten. */
|
||||||
@@ -146,6 +148,7 @@ export function mondsaalRaumWege(raumRouter, { kleinerRumpf, sendung, dabeiListe
|
|||||||
const sichtbar = !!(p && da && !p.unsichtbar);
|
const sichtbar = !!(p && da && !p.unsichtbar);
|
||||||
const nachricht = { was: "mondsaal_reaktion", zeichen, reihe: sichtbar ? p.reihe : null, platz: sichtbar ? p.platz : null };
|
const nachricht = { was: "mondsaal_reaktion", zeichen, reihe: sichtbar ? p.reihe : null, platz: sichtbar ? p.platz : null };
|
||||||
stromAn(empfaenger(), "reaktion", nachricht);
|
stromAn(empfaenger(), "reaktion", nachricht);
|
||||||
|
pulsZaehlen("reaktion");
|
||||||
res.status(201).json({ zeichen, anonym: !sichtbar });
|
res.status(201).json({ zeichen, anonym: !sichtbar });
|
||||||
} catch (f) {
|
} catch (f) {
|
||||||
console.error("[mondsaal] Reaktion:", f?.message);
|
console.error("[mondsaal] Reaktion:", f?.message);
|
||||||
|
|||||||
Reference in New Issue
Block a user