openclaw/src/auto-reply/reply/queue
Chloe-VP 2d5ce3e29c fix: handle string thread_ts from Slack properly
Issue #4380: The queue drain logic was using typeof === 'number'
to check for thread IDs, which fails for Slack where thread_ts
is a string like '1737766124.329349'.

Changed three occurrences:
- Line 43: typeof threadId !== 'number' → threadId == null
- Line 49: typeof threadId === 'number' → threadId != null
- Line 75: typeof originatingThreadId === 'number' → originatingThreadId != null

This allows Slack string thread IDs to be properly recognized
while still filtering out undefined/null values.
2026-01-29 21:14:17 -08:00
..
cleanup.ts fix: hard-abort clears queues on /stop 2026-01-16 21:15:25 +00:00
directive.ts refactor(src): split oversized modules 2026-01-14 01:17:56 +00:00
drain.ts fix: handle string thread_ts from Slack properly 2026-01-29 21:14:17 -08:00
enqueue.ts style: run oxfmt 2026-01-17 08:00:05 +00:00
normalize.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
settings.ts feat(queue): add per-channel debounce overrides 2026-01-21 18:50:55 +00:00
state.ts fix: hard-abort clears queues on /stop 2026-01-16 21:15:25 +00:00
types.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00