orbitalimpact / hipmost

Migrate your Hipchat history to Mattermost
MIT License
10 stars 5 forks source link

MatterMost doesn't like @mentions in messages #3

Closed NielsVanHoef closed 5 years ago

NielsVanHoef commented 5 years ago

Running the convert will take the messages as-is, running the import will produce errors for each message which has an @username mention in it. Removing the @ from the jsonl file will solve the problem and allow an import of the data.

davidbartonau commented 5 years ago

I am no seeing that. I have converted all my usernames to lowercase and it seems to be working. The @mentions also seem to convert as I don't think they are case sensitive.

davidbartonau commented 5 years ago

The key thing is to import ALL your users first and THEN import messages. I added a new command to do this in my merge request #4 and stepped through the process in Commands.ods

gabrielrios commented 5 years ago

@NielsVanHoef can you confirm if it still happening after @davidbartonau fixes?

NielsVanHoef commented 5 years ago

@gabrielrios I can confirm the problem has been solved with this fix. Thx!