Add conv export
This commit is contained in:
parent
152d78de21
commit
d210ba475f
@ -82,7 +82,7 @@ func (h *baseGroupsHandler) ProduceExportCollections(
|
||||
)
|
||||
|
||||
switch cat {
|
||||
case path.ChannelMessagesCategory:
|
||||
case path.ChannelMessagesCategory, path.ConversationPostsCategory:
|
||||
folders = append(folders, fp.Folders()...)
|
||||
|
||||
coll = groups.NewExportCollection(
|
||||
|
||||
@ -143,7 +143,8 @@ func makeRestorePathsForEntry(
|
||||
switch true {
|
||||
case ent.Exchange != nil ||
|
||||
(ent.Groups != nil && ent.Groups.ItemType == details.GroupsChannelMessage) ||
|
||||
(ent.SharePoint != nil && ent.SharePoint.ItemType == details.SharePointList):
|
||||
(ent.SharePoint != nil && ent.SharePoint.ItemType == details.SharePointList) ||
|
||||
(ent.Groups != nil && ent.Groups.ItemType == details.GroupsConversationPost):
|
||||
// TODO(ashmrtn): Eventually make Events have it's own function to handle
|
||||
// setting the restore destination properly.
|
||||
res.RestorePath, err = basicLocationPath(repoRef, locRef)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user