Skip to content

Commit 540591c

Browse files
author
Richard Kuo (Onyx)
committed
add a comment
1 parent 0b5e3e5 commit 540591c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/onyx/connectors/slack/connector.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,9 @@ def _message_to_doc(
379379
filtered_thread: ThreadType | None = None
380380
thread_ts = message.get("thread_ts")
381381
if thread_ts:
382+
# NOTE: if thread_ts is present, there's a thread we need to process
383+
# ... otherwise, we can skip it
384+
382385
# skip threads we've already seen, since we've already processed all
383386
# messages in that thread
384387
if thread_ts in seen_thread_ts:

0 commit comments

Comments
 (0)