-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Add timezones and pronouns #574
Conversation
Blocked until element-hq/synapse#17488 is merged, and conduwuit correctly returns JSON for custom keys other than the timezone one. Ideally, other server implementations will have added MSC4133 functionality by this time too. |
const pronouns: PronounSet[] = ensureArray(profile["io.fsky.nyx.pronouns"]) as PronounSet[] | ||
return ( | ||
<> | ||
<hr/> |
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.
<hr/>
s should be in UserInfo
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.
If there's no extended profile info, this results in there just being a random rule below the mxid that looks quite unsightly
since this function checks beforehand if there's anything to render, returning null if not, the hr isn't rendered in that case. Is there a better way about going about that without calculating whether anything would be shown in UserInfo
?
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.
oh right I didn't notice the second condition 🤔
This PR closes #569
Adds timezones and pronouns support from MSC4133.
example: