chore: oxfmt

This commit is contained in:
Peter Steinberger
2026-01-16 22:33:35 +00:00
parent 548a32c8d4
commit 76d3d58b5c
8 changed files with 22 additions and 16 deletions

View File

@@ -16,7 +16,9 @@ describe("applyGroupGating", () => {
it("treats reply-to-bot as implicit mention", () => {
const groupHistories = new Map();
const result = applyGroupGating({
cfg: baseConfig as unknown as ReturnType<typeof import("../../../config/config.js").loadConfig>,
cfg: baseConfig as unknown as ReturnType<
typeof import("../../../config/config.js").loadConfig
>,
msg: {
id: "m1",
from: "123@g.us",

View File

@@ -110,7 +110,7 @@ export function applyGroupGating(params: {
: null;
const implicitMention = Boolean(
(selfJid && replySenderJid && selfJid === replySenderJid) ||
(selfE164 && replySenderE164 && selfE164 === replySenderE164),
(selfE164 && replySenderE164 && selfE164 === replySenderE164),
);
const mentionGate = resolveMentionGating({
requireMention,