-
Notifications
You must be signed in to change notification settings - Fork 385
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
MSC4247: User Pronouns #4247
Open
everypizza1
wants to merge
14
commits into
matrix-org:main
Choose a base branch
from
everypizza1:pronouns
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
MSC4247: User Pronouns #4247
Changes from 8 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c8f3ece
Add files via upload
everypizza1 f17962d
Rename msc4247-user-pronouns.md to 4247-user-pronouns.md
everypizza1 f3f6880
Add Dependencies section
everypizza1 d78c996
Actually, a dictionary would be better
everypizza1 c18ebc7
Link MSC
everypizza1 939b203
Update number
everypizza1 dc4e203
Wrap lines
everypizza1 b4176bf
Use an array instead
everypizza1 0fd6715
Fix no longer used `.secondary`
everypizza1 f1e9366
Add language, order by preference
everypizza1 f6bf41f
Add note about example and explain how clients should parse pronouns
everypizza1 7db04a9
Add `"summary"`
everypizza1 dd04dd6
Add note about ISO 639, note required fields
everypizza1 963b18d
Use BCP-47 instead
everypizza1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# MSC4247: User Pronouns | ||
|
||
Many users of Matrix put pronouns in display names. However, that causes screen | ||
clutter. This proposal defines a standardized pronouns field on top of | ||
[MSC4133](https://github.com/matrix-org/matrix-spec-proposals/pull/4133). | ||
|
||
## Proposal | ||
|
||
Profiles may have an optional `m.pronouns` field as an | ||
array. These fields can be fetched through the | ||
everypizza1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[profile API endpoints](https://spec.matrix.org/unstable/client-server-api/#profiles). | ||
Clients should parse this and use these instead of they/them where possible. | ||
|
||
### Example | ||
|
||
```json | ||
{ | ||
"avatar_url": "…", "displayname": "…", | ||
"m.pronouns": [ | ||
{ | ||
"subject": "it", | ||
everypizza1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"object": "it", | ||
"possessive_determiner": "its", | ||
"possessive_pronoun": "its", | ||
"reflexive": "itself" | ||
}, | ||
{ | ||
"subject": "she", | ||
"object": "her", | ||
"possessive_determiner": "her", | ||
"possessive_pronoun": "hers", | ||
"reflexive": "herself" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
## Potential issues | ||
|
||
Some users may not want to publish pronouns to others, although that is out of | ||
scope for this MSC. Some users may also complain about "woke", although | ||
pronouns are a basic part of langauge. | ||
|
||
## Security issues | ||
|
||
None. | ||
|
||
## Unstable prefix | ||
|
||
Clients and servers wishing to implement this early may use | ||
`io.fsky.nyx.pronouns` and `io.fsky.nyx.pronouns.secondary`. | ||
everypizza1 marked this conversation as resolved.
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Implementation requirements:
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.
Conduwuit already supports this by supporting arbitrary fields in #4133 so I'd assume this MSC only requires a client implementation that can read/write the field?