@@ -196,6 +196,10 @@ func (t *Slack) handleChannelMessage(
|
||||
|
||||
currentConv := t.conversationTracker.GetConversation(t.channelID)
|
||||
|
||||
message := replaceUserIDsWithNamesInMessage(api, cleanUpUsernameFromMessage(ev.Text, b))
|
||||
|
||||
go func() {
|
||||
|
||||
// Lock the conversation mutex to update the conversation history
|
||||
t.processing.Lock()
|
||||
|
||||
@@ -214,10 +218,6 @@ func (t *Slack) handleChannelMessage(
|
||||
t.processing.Unlock()
|
||||
}()
|
||||
|
||||
message := replaceUserIDsWithNamesInMessage(api, cleanUpUsernameFromMessage(ev.Text, b))
|
||||
|
||||
go func() {
|
||||
|
||||
imageBytes := new(bytes.Buffer)
|
||||
mimeType := "image/jpeg"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user