Is your feature request related to a problem? Please describe.
At Element we want to add bots to nameless DM rooms. These bots should not affect the dynamic room name.
A DM room with Alice, Reminder Bot and me should be called "Alice" and not "Alice and Reminder bot", given the state described below is present.
Describe the solution you'd like.
When calculating a room name:
- Read the room state of type
io.element.functional_members. (no state key)
- In the content, look for an array of strings called.
- Exclude those user ids from the name generation.
{
"service_members": [
"@helperbot:localhost",
"@reminderbot:alice.tdl"
]
}
Whenever the state event content gets overwritten, the room name needs to be recalculated.
Describe alternatives you've considered.
MSC2199: Canonical DMs defines unimportant users, which are likely going to accomplish the same.
However, we have an upcoming EMS product which needs this feature faster and it's still uncertain where MSC2199 is going.
Additional context
MSC-like description:
https://github.com/vector-im/element-meta/blob/develop/spec/functional_members.md
Implementation for Element Web:
matrix-org/matrix-js-sdk#1771
Issue for Element iOS:
element-hq/element-ios#4609
Is your feature request related to a problem? Please describe.
At Element we want to add bots to nameless DM rooms. These bots should not affect the dynamic room name.
A DM room with Alice, Reminder Bot and me should be called "Alice" and not "Alice and Reminder bot", given the state described below is present.
Describe the solution you'd like.
When calculating a room name:
io.element.functional_members. (no state key){ "service_members": [ "@helperbot:localhost", "@reminderbot:alice.tdl" ] }Whenever the state event content gets overwritten, the room name needs to be recalculated.
Describe alternatives you've considered.
MSC2199: Canonical DMs defines
unimportantusers, which are likely going to accomplish the same.However, we have an upcoming EMS product which needs this feature faster and it's still uncertain where MSC2199 is going.
Additional context
MSC-like description:
https://github.com/vector-im/element-meta/blob/develop/spec/functional_members.md
Implementation for Element Web:
matrix-org/matrix-js-sdk#1771
Issue for Element iOS:
element-hq/element-ios#4609