Skip to content

Commit

Permalink
ignore thread broadcast messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Feb 15, 2023
1 parent 00b95ef commit d04beb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thread.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (*Session) populateThreads(
) (int, error) {
total := 0
for i := range msgs {
if msgs[i].ThreadTimestamp == "" {
if msgs[i].ThreadTimestamp == "" || msgs[i].SubType == "thread_broadcast" {
continue
}
threadMsgs, err := dumpFn(ctx, l, channelID, msgs[i].ThreadTimestamp, oldest, latest)
Expand Down

0 comments on commit d04beb8

Please sign in to comment.