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

MSC4133 - Extended profiles #4391

Merged
merged 8 commits into from
Sep 9, 2024
Merged

MSC4133 - Extended profiles #4391

merged 8 commits into from
Sep 9, 2024

Conversation

Half-Shot
Copy link
Contributor

@Half-Shot Half-Shot commented Sep 6, 2024

Disclaimer: This is being worked on with an open source community hat on rather than my Element hat.

For matrix-org/matrix-spec-proposals#4133

While this MSC is in review, I opted to make new methods rather than extend the existing profile methods. I'm open to changing this if that seems more appropriate, but I think it's just as easy to change the methods later once the endpoint stabilizes.

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • [N/A] Sign-off given on the changes (see CONTRIBUTING.md).

Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise this looks good I think

src/client.ts Outdated
{},
profile,
{
prefix: (await this.doesServerSupportUnstableFeature("uk.tcpip.msc4133.stable"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels a bit repetitive - maybe a extendedProfilePrefix or something would be useful?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

src/models/profile-keys.ts Show resolved Hide resolved
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dbkr dbkr added this pull request to the merge queue Sep 9, 2024
Merged via the queue into develop with commit e8128d3 Sep 9, 2024
26 checks passed
@dbkr dbkr deleted the hs/msc4133 branch September 9, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants