diff --git a/slack.go b/slack.go index f74d4a5..a498fdb 100644 --- a/slack.go +++ b/slack.go @@ -261,12 +261,6 @@ func (h *CSPSlackEvtHandler) handleEventAPIEvent() { return } blocks := CreateUpdateResponseMsg(channelName, ev.User) - //FIXME (willnilges): Seems like slack has some kind of limitation with being unable to post ephemeral messages to threads and then - // broadcast them to channels. So for now this is going to be non-ephemeral. - - // Post the ephemeral message - //_, _, err := slackSocket.PostMessage(config.SlackStatusChannelID, slack.MsgOptionTS(ev.TimeStamp), slack.MsgOptionText("Hello!", false)) - //_, err = slackSocket.PostEphemeral(config.SlackStatusChannelID, ev.User, slack.MsgOptionTS(ev.TimeStamp), slack.MsgOptionBroadcast(), slack.MsgOptionBlocks(blocks...)) _, _, err = h.slackSocket.PostMessage(config.SlackStatusChannelID, slack.MsgOptionTS(ev.TimeStamp), slack.MsgOptionBlocks(blocks...)) if err != nil { log.Printf("Error posting ephemeral message: %s", err)