chore: fix lint formatting
This commit is contained in:
1 parent
77c76ca52f
commit
1a00175eb7
9 files changed
+120
-108
No files matched your search
@@ -782,10 +782,7 @@ export async function getReplyFromConfig(
|
||||
const typingIntervalSeconds =
|
||||
typeof configuredTypingSeconds === "number" ? configuredTypingSeconds : 6;
|
||||
const typingIntervalMs = typingIntervalSeconds * 1000;
|
||||
const typingTtlMs = Math.min(
|
||||
Math.max(15_000, typingIntervalMs * 5),
|
||||
60_000,
|
||||
);
|
||||
const typingTtlMs = Math.min(Math.max(15_000, typingIntervalMs * 5), 60_000);
|
||||
const cleanupTyping = () => {
|
||||
if (typingTtlTimer) {
|
||||
clearTimeout(typingTtlTimer);
|
||||
|
||||
Reference in new issue
Block a user