element-hq / element-hq/element-web

Add an option to include the Matrix ID in plaintext room exports

Open
#30,176 0 comments 0 reactions 0 assignees View on GitHub
O-Uncommon T-Enhancement T-Feature
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?

Almost every time I'm exporting a room it's for some kind of logging or auditing purpose. So I need the Matrix ID included.

Currently you only get the users display name

```
Fri, Jun 20, 2025, 15:13:21 - twilight joined the room
Fri, Jun 20, 2025, 15:13:21 - twilight made the room invite only.
Fri, Jun 20, 2025, 15:13:21 - twilight made future room history visible to all room members.
Fri, Jun 20, 2025, 15:13:21 - twilight has allowed guests to join the room.
Fri, Jun 20, 2025, 15:13:21 - twilight changed the room name to a room.
Fri, Jun 20, 2025, 15:13:23 - twilight: hello
```

So I have to add the MXIDs manually

```
Fri, Jun 20, 2025, 15:13:21 - twilight (@twilight:example.com) joined the room
Fri, Jun 20, 2025, 15:13:21 - twilight (@twilight:example.com) made the room invite only.
Fri, Jun 20, 2025, 15:13:21 - twilight (@twilight:example.com) made future room history visible to all room members.
Fri, Jun 20, 2025, 15:13:21 - twilight (@twilight:example.com) has allowed guests to join the room.
Fri, Jun 20, 2025, 15:13:21 - twilight (@twilight:example.com) changed the room name to a room.
Fri, Jun 20, 2025, 15:13:23 - twilight (@twilight:example.com): hello
```

#### Why would you like to do it?

#### How would you like to achieve it?

Would be nice if there was an option to include the MXID in the plaintext room export. Does not have to be the default

### Have you considered any alternatives?

Manually editing the export which is what I do, but it's tedious and error prone. Or exporting as JSON and then somehow converting that to plaintext formatting

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.