Skip to content

Commit 80f6bd1

Browse files
committed
chore: remove comments
1 parent af74a8d commit 80f6bd1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/handler/conversations.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ func (ch *ConversationsHandler) convertMessagesFromHistory(slackMessages []slack
391391

392392
msgText := msg.Text + text.AttachmentsTo2CSV(msg.Text, msg.Attachments)
393393

394-
// Convert reactions to flat pipe-separated format: emoji:count|emoji:count
395394
var reactionParts []string
396395
for _, r := range msg.Reactions {
397396
reactionParts = append(reactionParts, fmt.Sprintf("%s:%d", r.Name, r.Count))
@@ -446,8 +445,6 @@ func (ch *ConversationsHandler) convertMessagesFromSearch(slackMessages []slack.
446445

447446
msgText := msg.Text + text.AttachmentsTo2CSV(msg.Text, msg.Attachments)
448447

449-
// Note: Search messages don't typically have reactions in the API response
450-
// but we include empty values for consistency with the Message struct
451448
messages = append(messages, Message{
452449
MsgID: msg.Timestamp,
453450
UserID: msg.User,
@@ -457,7 +454,7 @@ func (ch *ConversationsHandler) convertMessagesFromSearch(slackMessages []slack.
457454
Channel: fmt.Sprintf("#%s", msg.Channel.Name),
458455
ThreadTs: threadTs,
459456
Time: timestamp,
460-
Reactions: "", // Not available in search results
457+
Reactions: "",
461458
})
462459
}
463460

0 commit comments

Comments
 (0)