Fix for OOO bug that reply message does not get inserted consistently. (#9742)

Этот коммит содержится в:
Chris Duarte
2018-10-30 14:30:15 -07:00
коммит произвёл Christopher Speller
родитель 5d6c686d80
Коммит f23eeb56c7
3 изменённых файлов: 8 добавлений и 18 удалений

Просмотреть файл

@@ -79,11 +79,7 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
if post.Type != model.POST_AUTO_RESPONDER {
a.Go(func() {
rootId := post.Id
if post.RootId != "" && post.RootId != post.Id {
rootId = post.RootId
}
a.SendAutoResponse(channel, otherUser, rootId)
a.SendAutoResponse(channel, otherUser)
})
}