[MM-53245] export/import: add Props to the replies (#29531)

Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2024-12-18 17:36:17 +01:00
коммит произвёл GitHub
родитель f60694dbef
Коммит bf4d41954a
5 изменённых файлов: 27 добавлений и 4 удалений

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

@@ -1412,6 +1412,9 @@ func (a *App) importReplies(rctx request.CTX, data []imports.ReplyImportData, po
rctx.Logger().Warn("Reply CreateAt is before parent post CreateAt, setting it to parent post CreateAt", mlog.Int("reply_create_at", reply.CreateAt), mlog.Int("parent_create_at", post.CreateAt))
reply.CreateAt = post.CreateAt
}
if replyData.Props != nil {
reply.Props = *replyData.Props
}
if replyData.Type != nil {
reply.Type = *replyData.Type
}