Skip to content

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

@mnaturel

Description

@mnaturel

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

Metadata

Metadata

Assignees

Labels

A-Account dataT-EnhancementNew features, changes in functionality, performance boosts, user-facing improvements

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions