matrix-org / matrix-org/matrix-js-sdk
Room name needs to be re-calculated on new Function Members state events
@jaller94 is already working on this.
Since Oct 6, 2022.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 704
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 40
Description
MSC-like description of the `io.element.functional_members` state event:
https://github.com/vector-im/element-meta/blob/develop/spec/functional_members.md
## Steps to reproduce
1. Invite a bot to a DM room.
2. Note that the bot's name gets added to the dynamic room name.
3. Set a `io.element.functional_members` state event to exclude the bot name from the room name.
## Expected
An update to that room state updates the dynamic room name.
## Actual
The room name is only calculated when the room members change or you restart the client.
## What?? `io.element.` state events? Where is the Matrix standard?
[MSC2199: Canonical DMs](https://github.com/matrix-org/matrix-doc/blob/travis/msc/immutable-dms/proposals/2199-canonical-dms.md) defines `unimportant` users, which are likely going to accomplish the same.
However, we have an EMS product which needs this feature and it's still uncertain where MSC2199 is going.
Once the Spec supports hiding user names from dynamic room names, this custom state event will likely be deprecated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.