Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Functional members #4609

Closed
jaller94 opened this issue Jul 26, 2021 · 0 comments · Fixed by #4643
Closed

Support Functional members #4609

jaller94 opened this issue Jul 26, 2021 · 0 comments · Fixed by #4643
Assignees
Labels
feature T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements

Comments

@jaller94
Copy link
Contributor

jaller94 commented Jul 26, 2021

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:

  1. Read the room state of type io.element.functional_members. (no state key)
  2. In the content, look for an array of strings called service_members.
  3. Exclude those user ids from the name generation.
{
    "service_members": [
        "@helperbot:localhost",
        "@reminderbot:alice.tdl"
    ]
}

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

Implementation for Element Web:
matrix-org/matrix-js-sdk#1771

Issue for Element Android:
element-hq/element-android#3736

@pixlwave pixlwave self-assigned this Jul 28, 2021
@manuroe manuroe added this to the Sprint - Element 1.5.0 milestone Aug 11, 2021
@kittykat kittykat added the T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements label Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants