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

[Device Management] Save matrix_client_information events on login/registration #7257

Closed
mnaturel opened this issue Sep 29, 2022 · 0 comments · Fixed by #7276
Closed

[Device Management] Save matrix_client_information events on login/registration #7257

mnaturel opened this issue Sep 29, 2022 · 0 comments · Fixed by #7276
Assignees
Labels
A-Account data T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements

Comments

@mnaturel
Copy link
Contributor

mnaturel commented Sep 29, 2022

Your use case

What would you like to do?

Add a new account data event io.element.matrix_client_information.<device-id> with content:

{
  name: 'Element Web',
  version: '1.2.3',
  url: 'app.element.io' <optional>
}

Upsert these events on login PUT /_matrix/client/v3/user/{userId}/account_data/{type}

Why would you like to do it?

To have extended data on devices. See element-hq/element-meta#656

How would you like to achieve it?

Updating the Account data when needed.

Have you considered any alternatives?

No response

Additional context

No response

Are you willing to provide a PR?

Yes

@mnaturel mnaturel added T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements A-Account data labels Sep 29, 2022
@mnaturel mnaturel self-assigned this Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Account data T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
1 participant