# Question necromancy: migrating from mattermost

**URL:** https://meta.discourse.org/t/question-necromancy-migrating-from-mattermost/386881
**Category:** Migration
**Created:** [October 27, 2025, 11:45pm UTC](https://meta.discourse.org/t/question-necromancy-migrating-from-mattermost/386881 "2025-10-27T23:45:08Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![italo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/italo/32/315833_2.png) [@italo](https://meta.discourse.org/u/italo)
#### Post date: [November 4, 2025, 3:47pm UTC](https://meta.discourse.org/t/question-necromancy-migrating-from-mattermost/386881/9 "2025-11-04T15:47:17Z")

</div>

> [@Anton\_Akhmerov](#):
>
> Right now I lean towards importing chat into chat channels. Aside from the lack of search, which will be implemented soon, are there other considerations that are relevant?

In this case most of the work will be spent on parsing the messages. A few relevant things are:

- Mentions will need a record in the database, check: [mention.rb](https://github.com/discourse/discourse/blob/5263c1632738e3f2c2afd4af9e0187924b96c214/plugins/chat/app/models/chat/mention.rb) and [group\_mention.rb](https://github.com/discourse/discourse/blob/5263c1632738e3f2c2afd4af9e0187924b96c214/plugins/chat/app/models/chat/group_mention.rb).
- Attachments should also be imported as `upload` and referenced in the message markdown. Alternatively you can upload images to a temp server of your choice, add a link to them in the post and enable the setting: `download_remote_images_to_local`.
- You still have to create categories for the channels to be able to set permissions.
- If you use SSO, you can import users from your Identity provider directly. Check: [Sync DiscourseConnect user data with the sync\_sso route](https://meta.discourse.org/t/sync-discourseconnect-user-data-with-the-sync-sso-route/84398).

---

_[View the full topic](https://meta.discourse.org/t/question-necromancy-migrating-from-mattermost/386881)._
