File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments