Fix thread timestamp checking
This commit is contained in:
parent
cb58a10f8b
commit
56cad01ce0
@ -442,7 +442,7 @@ func (s *SlackService) CreateMessageFromReplies(message slack.Message, channelID
|
|||||||
//
|
//
|
||||||
// Keep in mind that the api returns the replies with the latest
|
// Keep in mind that the api returns the replies with the latest
|
||||||
// as the first element.
|
// as the first element.
|
||||||
if message.ThreadTimestamp != "" && message.ThreadTimestamp == message.Timestamp {
|
if reply.ThreadTimestamp != "" && reply.ThreadTimestamp == reply.Timestamp {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user