implement threads in slack import tool
implement threads in slack import tool.
right now, threaded messages lose their context when imported. they just become normal messages and not replies to other messages.
https://github.com/mattermost/mattermost-server/issues/10203
https://api.slack.com/docs/message-threading
in slack, replies are standalone objects. it works via a thread_ts (thread timestamp) attribute. thread_ts refers to the ts (timestamp) of the parent post. if a post has thread_ts == ts, then it is the beginning of a thread.
possible approach:
import all posts except for ones where thread_ts != ts (as these are replies to other posts). once that's done, go back and import the replies since their parents will have already been imported.
 Anonymous
    
 shared this idea
Anonymous
    
 shared this idea
      
    Thank you for nominating the feature! It is now available in Mattermost 5.12. Would anyone like to help re-tweet the announcement? https://twitter.com/Mattermost/status/1140597979985993728
- 
       Anonymous
    
 commented Anonymous
    
 commentedThis was just implemented in the latest release :) 
- 
       Anonymous
    
 commented Anonymous
    
 commentedMeanwhile it would be good to add a comment to the Limitations section of the documentation, that the the import of threads is currently not possible: 
 >https://docs.mattermost.com/administration/migrating.html#limitations
 
          