-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slack Import: corporate-export data (direct messages, private channels, etc.) is not imported #13905
Comments
Does the export its self actually include these? If I remember right if the person who exported is not part of a channel slack doesn't even export them unless you submit for some special data retention thing |
Thats true in case you use Slacks standard export. In the plus-plan you can use the coporate-export, which includes all information I mentioned above. You can read about the difference export-types here: The structure of the coporate export zip file:
groups.json and mpims.json looks just like the channels.json. The structure of the dms.json:
I made an attempt to add the processing of groups, dms and mpims to the importer.js:
adding them to the selectionChannel:
Im struggeling with adding the dms. Should the importing user choose them? So there need to be a lot of changes to the data model (i.e adding a selectionDirectChat-Class and so on). If the direct chats would be imported depending on which users are imported there need to be a bit of code checking if a direct chat (type "d") document for the certain direct chat already exists in the the rocketchat_room-collection and exchange the id of the direct chat then. Any thoughts about that? Should a branch be opened for that? Should I push my code somewhere? I guess adding this feature would be a great step forward for small companies to change over to RocketChat without losing any of there chat-data. |
Nice! Yes if you open a PR we can likely collaborate and get it merged. Cc: @Hudell probably would be involved here |
Description:
Right now Rocket.Chat´s Slack Import only imports public channels, users and messages.
The coporate-export of Slack gives the opportunity to also export:
groups.json
)dms.json
)mpims.json
)The importer.js is processing all the message-subfolders but only takes care about the public channels, described in
channels.json
.(To me) it looks like the routines are already there to process the other json-files mentioned above, especially because the importer already handles all the message-subfolders. So it would be great if this could be implemented.
Steps to reproduce:
Expected behavior:
Also private channels, direct messages and multi-user-conversations should be importable
Server Setup Information:
I would be happy to provide more information or a testfile if nessecary.
The text was updated successfully, but these errors were encountered: