Update Matrix post

This commit is contained in:
Em Rusz 2025-03-27 11:52:38 -04:00
parent 982a37bb0e
commit 0a4174a8aa
Signed by: em
GPG key ID: 90EC181981BC5D1E

View file

@ -7,42 +7,11 @@ tags:
- matrix
---
Recently, I made the move to hosting my own [Matrix](https://matrix.org) homeserver
## Account Migration
Element offers an experimental service to migrate to your new account, but it requires handing over the credentials to both your old and new accounts.
EMS offers an [experimental service](https://ems.element.io/tools/matrix-migration) to migrate to your new account, but it requires handing over the credentials to both your old and new accounts.
> [!NOTE]
> Test
### Key Backup
To maintain access to older messages you must first export your backup encryption keys from Element.
### Direct Messages
Direct messages can be transferred to your new account with a few simple steps. It's possible to maintain the history because Matrix allows users to freely convert chats between direct messages and rooms.
1. Invite the new account. The direct message will be automatically converted to a room.
```
/invite @new:new-server.tld
```
2. Elevate the new account to level 100 (admin). Matrix treats all users in a direct message as administrators by default.
```
/op @new 100
```
3. Verify you can view your message history from the new account.
4. Kick the old account from the room.
```
/kick @old`
```
5. Convert the room back to a direct message.
```
/converttodm
```
**Note:** This guide assumes you will be using [Element](https://element.io/), but should work with some modification for any Matrix client.
{: .notice--primary}