Add conv export

This commit is contained in:
Abhishek Pandey 2023-12-06 23:22:42 -08:00
parent 152d78de21
commit d210ba475f
2 changed files with 3 additions and 2 deletions

View File

@ -82,7 +82,7 @@ func (h *baseGroupsHandler) ProduceExportCollections(
) )
switch cat { switch cat {
case path.ChannelMessagesCategory: case path.ChannelMessagesCategory, path.ConversationPostsCategory:
folders = append(folders, fp.Folders()...) folders = append(folders, fp.Folders()...)
coll = groups.NewExportCollection( coll = groups.NewExportCollection(

View File

@ -143,7 +143,8 @@ func makeRestorePathsForEntry(
switch true { switch true {
case ent.Exchange != nil || case ent.Exchange != nil ||
(ent.Groups != nil && ent.Groups.ItemType == details.GroupsChannelMessage) || (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 // TODO(ashmrtn): Eventually make Events have it's own function to handle
// setting the restore destination properly. // setting the restore destination properly.
res.RestorePath, err = basicLocationPath(repoRef, locRef) res.RestorePath, err = basicLocationPath(repoRef, locRef)