chore(format): apply biome fixes
This commit is contained in:
1 parent
1f215848be
commit
ed80860c34
8 files changed
+37
-15
No files matched your search
@@ -98,9 +98,14 @@ export const providersHandlers: GatewayRequestHandlers = {
|
||||
lastProbeAt = Date.now();
|
||||
}
|
||||
const groups =
|
||||
cfg.telegram?.accounts?.[account.accountId]?.groups ?? cfg.telegram?.groups;
|
||||
cfg.telegram?.accounts?.[account.accountId]?.groups ??
|
||||
cfg.telegram?.groups;
|
||||
const allowUnmentionedGroups =
|
||||
Boolean(groups?.["*"] && (groups["*"] as { requireMention?: boolean }).requireMention === false) ||
|
||||
Boolean(
|
||||
groups?.["*"] &&
|
||||
(groups["*"] as { requireMention?: boolean }).requireMention ===
|
||||
false,
|
||||
) ||
|
||||
Object.entries(groups ?? {}).some(
|
||||
([key, value]) =>
|
||||
key !== "*" &&
|
||||
|
||||
Reference in new issue
Block a user