-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
Conversation
There was a problem hiding this 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")) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
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
public
/exported
symbols have accurate TSDoc documentation.