[MM-12465] Added capability to export reactions of posts during bulk export (#9600)
* Added capability to export reactions of posts * Added capability to export reactions of replies of a post * Added test case to test the reactions of a post
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
1befeb61d0
Коммит
7562f940bb
@@ -111,3 +111,11 @@ func ImportReplyFromPost(post *model.ReplyForExport) *ReplyImportData {
|
||||
CreateAt: &post.CreateAt,
|
||||
}
|
||||
}
|
||||
|
||||
func ImportReactionFromPost(reaction *model.Reaction) *ReactionImportData {
|
||||
return &ReactionImportData{
|
||||
User: &reaction.UserId,
|
||||
EmojiName: &reaction.EmojiName,
|
||||
CreateAt: &reaction.CreateAt,
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user