MM-12463 : Added capability to bulk export custom emojis (#9790)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
2104c6878c
Коммит
246ff89391
@@ -139,3 +139,13 @@ func ImportReactionFromPost(reaction *model.Reaction) *ReactionImportData {
|
||||
CreateAt: &reaction.CreateAt,
|
||||
}
|
||||
}
|
||||
|
||||
func ImportLineFromEmoji(emoji *model.Emoji, filePath string) *LineImportData {
|
||||
return &LineImportData{
|
||||
Type: "emoji",
|
||||
Emoji: &EmojiImportData{
|
||||
Name: &emoji.Name,
|
||||
Image: &filePath,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user